PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / bitfield3.C
blob387548a6827299aee6adbe8d27d8e9768529c3e1
1 /* PR c++/35320 */
2 /* { dg-do compile } */
4 typedef void (func_type)();
6 struct A
8   friend func_type f : 2; /* { dg-error "with non-integral type" } */
9 };