OSDN Git Service

PR c++/36435
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / crash89.C
1 // PR c++/34397
2
3 template<typename T, int = T()[0]> struct A
4 {
5   typedef A<T> B;
6 };
7
8 A<int> a; // { dg-error "subscripted|template|declaration" }