Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / arg5.C
blob3d67143b12d672b3db64e0ca58cf04febffdf58d
1 // PR c++/30534
2 // { dg-do compile }
4 template<bool> struct A;
6 template<int> void foo()
8   A<__builtin_constant_p(.)> a;  // { dg-error "template argument" }