aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/900403_04.C
blob: 9d55a37976be6537c968236fe5c4721c02b8c9b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
};