☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist-pmf1.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/initlist-pmf1.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
3
struct A
4
{
5
void f();
6
};
7
8
using ftype = decltype(&A::f);
9
10
template <class T>
11
bool f()
12
{
13
ftype p = ftype{};
14
return p;
15
}
16
17
int main()
18
{
19
f<int>();
20
}