Debian Codegraph @

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

raw
1 // PR c++/67898
2 // { dg-do compile { target c++11 } }
3
4 void f(int);
5 void f(float);
6
7 template<class T, T F, T G, bool b = F == G> struct X { };
8
9 template<class T>
10 void test() {
11 X<void(T), f, f>();
12 }
13
14 template void test<int>();