Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / crash34.C
blob9cca62f05391dcf494f7f9b9535d522f6c828585
1 // { dg-do compile }
3 // PR c++/20028
5 // We used to crash when referencing TYPE_SIZE_UNIT of the messed-up
6 // type used for x, because it was not initialized.
8 class Foo;
10 template <typename T> class Foo { }; // { dg-error "not a template type" }
12 Foo<int> x; // { dg-error "not a template" }