aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/lto/20081123_1.C
blob: aef512e8e4d3c45e8349ea61bdc77ae3e935a966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct foo {
  const int* int_array;
  const void* default_instance;
};
struct bar {
  static const bar& _default_instance;
  static const foo _internal_foo;
};
struct quxx {
  static int trouble[];
};
int quxx::trouble[] = { };
const foo bar::_internal_foo = { 
  quxx::trouble,
  &bar::_default_instance
};