aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.jason/parse4.C
blob: 13722227a3f0cfae211a919a18e6e8990b348afb (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Bug: g++ doesn't handle superfluous parentheses when redeclaring a TYPENAME.

typedef int foo;
class A {
    typedef int ((foo));	// { dg-bogus "" } 
};