diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.law/bit-fields1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.law/bit-fields1.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.law/bit-fields1.C b/gcc/testsuite/g++.old-deja/g++.law/bit-fields1.C new file mode 100644 index 000000000..e101d6aa5 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.law/bit-fields1.C @@ -0,0 +1,9 @@ +// { dg-do assemble } +// GROUPS passed bit-fields +typedef int A; + +struct B +{ + int A : 2; +} ; + |