]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/deduct2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / deduct2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/deduct2.C b/gcc/testsuite/g++.old-deja/g++.pt/deduct2.C
deleted file mode 100644 (file)
index 9ff204c..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 5 Sept 2000 <nathan@codesourcery.com>
-
-// bug 79 & 59. We failed to tsubst non-type template parms which used
-// (previously deduced) type parms.
-
-struct C {};  
-
-template< class T, T *G > struct S {};
-template< class T, T *G > void boz ( S<T,G> s1);
-
-C c1Gen;
-
-void foo ()
-{
-  S< C, &c1Gen > s1;
-
-  boz (s1);
-}