summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8804.C
blob: d3a2401dd4b4e3416d308e4dd55868132c18077b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do run  }
// prms-id: 8804

extern "C" int printf (const char *, ...);

struct Fails {
  int i;
  union {
    union {
      int c;
    };
  };
};

Fails d;

int main() {
  return &d.i == &d.c;
}