summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error24.C
blob: c8ab6d9921aa19728d605803cd56f435f63b5982 (plain)
1
2
3
4
5
6
7
8
// { dg-options "-fshow-column -ansi -pedantic-errors -Wno-long-long" }
// PR c++/19395

struct A {
  typedef int ::X; // { dg-error "17:typedef name may not be a nested-name-specifier" }
};