diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/900403_04.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.other/900403_04.C | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/900403_04.C b/gcc/testsuite/g++.old-deja/g++.other/900403_04.C new file mode 100755 index 0000000..9d55a37 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/900403_04.C @@ -0,0 +1,12 @@ +// GROUPS passed abort +// Build don't link: +// g++ 1.37.1 bug 900403_04 + +// The following erroneous code causes g++ to abort. + +// keywords: abort, bit-fields, zero length + +struct s { + unsigned int foo:0; // ERROR - causes abort + unsigned int field; +}; |