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