]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/template/inherit.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / template / inherit.C
diff --git a/gcc/testsuite/g++.dg/template/inherit.C b/gcc/testsuite/g++.dg/template/inherit.C
deleted file mode 100644 (file)
index dbff7e1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
-// { dg-do compile }
-
-template<typename T>
-struct X { void f() { } };
-
-struct Z : X<int> { };
-
-int main()
-{
-  Z z;
-  z.X::f();                     // { dg-error ".*" "" }
-}