2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash57.C
blobcf1c3c2961de4db0b59e466c5ddab8c864be19df
1 //PR c++/27397
3 template<int(> struct A;        // { dg-error "token" }
5 template<typename> struct B
7     template<int(> struct C;    // { dg-error "token" }
8 };
10 A<char> a;                      // { dg-error "type/value mismatch|constant|declaration" }