--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/g++.dg/parse/bitfield6.C Thu Feb 13 11:34:05 2020 +0900 @@ -0,0 +1,6 @@ +// PR c++/84636 + +typedef void a(); +struct A { +a: 1; // { dg-error "bit-field .\\<anonymous\\>. with non-integral type" } +};