Debian Codegraph @

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

raw
1 // PR c+/57943
2 // { dg-do compile { target c++11 } }
3
4 struct a { };
5
6 template <typename T = decltype (a(0))> // { dg-error "" }
7 void f() { }