aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.bugs/900403_04.C
blob: c68e4c2d88f890d496bf2b8a8da87da3ccd1cf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 - This is the real line
  unsigned int field;
};

int main () { return 0; }