]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/ext/typeof4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / ext / typeof4.C
diff --git a/gcc/testsuite/g++.dg/ext/typeof4.C b/gcc/testsuite/g++.dg/ext/typeof4.C
deleted file mode 100644 (file)
index 2f42370..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// { dg-do compile }
-// { dg-options "" }
-
-// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
-
-// PR c++/9459: typeof in return type of template function
-
-void foo (int) {}
-void foo (double) {}
-
-template <typename C>
-typeof(foo(1))
-bar () { return foo(1); }