aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/parse/typename9.C
blob: 8d77072197b27f5547956bfa0db89ffbbf81e4b8 (plain)
1
2
3
4
5
6
// check that using a qualified name with a typename does
// not report an error.

struct A { typedef int X; };

int i = typename A::X();