Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / inherit.C
blobbc20345fa0a7c7b57cf28818149a06bbc82560fc
1 // Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
2 // { dg-do compile }
4 template<typename T>
5 struct X { void f() { } };
7 struct Z : X<int> { };
9 int main()
11   Z z;
12   z.X::f();                     // { dg-error "template parameters" "" }