OSDN Git Service

* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / typedef5.C
1 // PR c++/27572
2 // { dg-do compile }
3
4 template<typedef,int>        struct A1; // { dg-error "no type|typedef declaration|default argument" }
5 template<typedef x,int>      struct A2; // { dg-error "type|typedef declaration|default argument" }
6 template<typedef x[],int>    struct A3; // { dg-error "no type|typedef declaration|expected" }
7 template<typedef int x, int> struct A4; // { dg-error "typedef declaration|default argument" }