aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.bugs/900402_01.C
blob: 4e636b5ece960c081d639c9c4b03424fe08166e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// g++ 1.37.1 bug 900402_01

// The following erroneous code causes g++ to abort.

// Cfront 2.0 passes this test.

// keywords: abort, bit-fields, function types

typedef void (func_type) ();

struct s {
  func_type f:32;	// ERROR - XFAIL *-*-*
};

int main () { return 0; }