rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/bitfld2.C

10 lines
199 B
C

// { dg-do assemble }
// { dg-options "-funsigned-bitfields" }
// Origin: Mark Mitchell <mark@codesourcery.com>
typedef int i[4];
struct S {
i j:12; // { dg-error "" } array type as bitfield
};