blob: b8c22ebc8698fdbf2ed8f5359eee3ce29a1740a3 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <class T>
int foo () { return 1; }
struct B {
unsigned c: foo; // { dg-error "non-integral type" }
};