Merge from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr60215.C
blob29700174192379cc2130fbe17600a474f65d0f74
1 // PR c++/60215
2 // { dg-do compile { target c++11 } }
4 struct A
6   void foo();
7   int i : foo;  // { dg-error "width" }
8 };