]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/error3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / error3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/error3.C b/gcc/testsuite/g++.old-deja/g++.pt/error3.C
deleted file mode 100644 (file)
index 60a2ad5..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 10 Jan 2001 <nathan@codesourcery.com>
-
-// Bug 1606. We sorry'd issuing an error.
-
-struct A {};
-template <class T = A> class Tpl {};
-
-struct B {
-  Tpl<int> s;
-};
-
-void foo (B *ptr)
-{
-  ptr->Tpl.t (); // ERROR - template as expression
-}