]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.oliva/template7.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / template7.C
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template7.C b/gcc/testsuite/g++.old-deja/g++.oliva/template7.C
deleted file mode 100644 (file)
index 16a42d8..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 1999, 2000 Free Software Foundation
-
-// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
-// simplified from bug report by Paul Burchard <burchard@pobox.com>
-
-template<class> struct A {};
-template<template<class> class T> struct B {
-  B() {
-    T<B>(); // gets bogus error - conversion from int to non-scalar
-  }
-};
-B<A> foo;