]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/ext/instantiate3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / ext / instantiate3.C
diff --git a/gcc/testsuite/g++.dg/ext/instantiate3.C b/gcc/testsuite/g++.dg/ext/instantiate3.C
deleted file mode 100644 (file)
index ea60d5b..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Test that 'inline template' instantiates the vtable.
-// { dg-do compile }
-// { dg-options "-O -fno-implicit-templates" }
-
-template <class T> struct A {
-  virtual void f () { }
-};
-inline template struct A<int>;
-
-// { dg-final { scan-assembler "\n_?_ZTV1AIiE(:|\n|\t)" } }
-A<int> a;
-
-// { dg-final { scan-assembler-not "\n_?_ZTV1AIcE(:|\n|\t)" } }
-A<char> b;