Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / template / typedef5.C
blobabd9ebb57cfe6625d44bf5c2e76b08912be161d3
1 // PR c++/27572
2 // { dg-do compile }
4 template<typedef,int>        struct A1; // { dg-error "no type|typedef declaration|default argument" }
5 template<typedef x,int>      struct A2; // { dg-error "no type|typedef declaration|default argument" }
6 template<typedef x[],int>    struct A3; // { dg-error "no type|typedef declaration|default argument" }
7 template<typedef int x, int> struct A4; // { dg-error "typedef declaration|default argument" }