Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/pr69637-2.C

raw
1 // { dg-do compile { target c++11 } }
2
3 template <class T, int N>
4 constexpr int foo () { return N; }
5
6 struct B { unsigned c: foo<int>, 3(); }; // { dg-error "non-integral type|expected" }