]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/typename27.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename27.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename27.C b/gcc/testsuite/g++.old-deja/g++.pt/typename27.C
deleted file mode 100644 (file)
index 1e3e6d6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-// 
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 9 Aug 2000 <nathan@codesourcery.com>
-
-// bugs 173, 174 & 406 all ICE'd due to Koenig lookup involving
-// typename T::t.
-
-struct A
-{
-  typedef int type;
-};
-
-template<typename T> void same_key (T, typename T::type);
-
-template <class T> void foo (T *, void (*) (T, int));
-
-void baz (A *ptr)
-{
-  foo (ptr, same_key);
-}