blob: 1435bfad3cdf26e3b40189591410661849295db6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { dg-do assemble }
// 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; // { dg-error "" } This is the real line
unsigned int field;
};
int main () { return 0; }
|