summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/misc5.C
blob: 245c9a2cab726c9eaea5cd4ec7b4a3e761163017 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// GROUPS uncaught
// Cfront bug A.3 (See Language System Release Notes for the
// SPARCompiler C++ version 3.0)

struct S1 {
  static int S1;		// { dg-error "" } uses same name 9.3
};
struct S2 {
  union { int ii; float S2; };	// { dg-error "" } uses same name 9.3
};