re PR c++/71465 (ICE on invalid C++ code (with duplicate base) on x86_64-linux-gnu...
[platform/upstream/gcc.git] / gcc / testsuite / g++.dg / pr69113.C
1 // PR c++/69113
2 // { dg-do compile }
3 // { dg-options "-fno-weak" }
4
5 struct foo
6 {
7   static void bar ()
8   {
9     struct baz
10     {
11       static void m ()
12       {
13         static int n;
14       }
15     };
16   }
17 };