summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/qualified6.C
blob: 68b51f771ec156cddb0087e2781131cefe829652 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/90107
// { dg-do compile }

struct A;
namespace N { extern A a; }
struct A {} ::N::a;

struct A1;
struct B { static A1 a1; };
struct A1 {} ::B::a1;