OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / 900403_04.C
1 // { dg-do assemble  }
2 // GROUPS passed abort
3 // g++ 1.37.1 bug 900403_04
4
5 // The following erroneous code causes g++ to abort.
6
7 // keywords: abort, bit-fields, zero length
8
9 struct s {
10   unsigned int foo:0;   // { dg-error "" } causes abort
11   unsigned int field;
12 };