summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr69113.C
blob: 2f8331e3f2bd653fc2c79fe337a4adc8ddbc4bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// PR c++/69113
// { dg-do compile }
// { dg-options "-fno-weak" }

struct foo
{
  static void bar ()
  {
    struct baz
    {
      static void m ()
      {
	static int n;
      }
    };
  }
};