[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081123_1.C
blobaef512e8e4d3c45e8349ea61bdc77ae3e935a966
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[];
12 int quxx::trouble[] = { };
13 const foo bar::_internal_foo = { 
14   quxx::trouble,
15   &bar::_default_instance