]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/template9.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / template9.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template9.C b/gcc/testsuite/g++.old-deja/g++.jason/template9.C
deleted file mode 100644 (file)
index 80fd8c9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// PRMS Id: 4864
-// Bug: g++ can't deal with a guiding declaration which comes before the
-// template.
-// Build don't link:
-
-void f (const int&, const int&);
-template <class T> void f (const T&, const T&) { }
-
-void g (int a)
-{
-  f (a,a); // gets bogus error - two identical candidates
-}