aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/parse2.C
blob: 77ea14a92a8c9f1c7fc75ca9ca4e3e8afdc68c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/54526
// { dg-do compile { target c++11 } }

template <class T>
struct X { };

struct A { };

int main()
{
  X<::A> x;
}

int a;
bool b = 0<::a;