Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / crash13.C
blob3c298ec8ede58f767d05e6a6eeabcd40ddd8a6bd
1 // { dg-do compile }
3 // Origin: Giovanni Bajo <giovannibajo@libero.it>
5 // PR c++/10583: ICE using template function with invalid signature.
7 template <typename> 
8 struct A 
10     struct B 
11     {};
14 template <typename T> 
15 void func(A<T>::B* )    // { dg-error "variable|template|expression" }
19 int main() 
21   func<void>(0);        // { dg-error "not declared|expression|;" }