Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype53.C

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;