aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/misc5.C
blob: bd3e85cee481baf3913ed6b0df6a085b3a6b4af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Build don't link: 
// GROUPS uncaught
// Cfront bug A.3 (See Language System Release Notes for the
// SPARCompiler C++ version 3.0)

struct S1 {
  static int S1;		// ERROR - uses same name 9.3
};
struct S2 {
  union { int ii; float S2; };	// ERROR - uses same name 9.3 , XFAIL *-*-*
};