☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype53.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype53.C
code
plain
raw
1
// PR c++/57092
2
// { dg-do compile { target c++11 } }
3
4
template <void (*F)(int)>
5
class B {
6
decltype(F) v;
7
};
8
9
void foo(int) {}
10
11
B<foo> o;