]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/ext/typeof1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / ext / typeof1.C
diff --git a/gcc/testsuite/g++.dg/ext/typeof1.C b/gcc/testsuite/g++.dg/ext/typeof1.C
deleted file mode 100644 (file)
index a3c13c8..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Test typeof template argument substitution
-
-// Copyright (C) 2001 Free Software Foundation
-// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-// { dg-do compile }
-// { dg-options "" }
-
-template <class T> struct A {
-       void f() {}
-       void g(T* t) {
-               A<typeof(t)> a;
-               a.f();
-       }
-};
-
-int main()
-{
-       A<int> a;
-       int b;
-       a.g(&b);
-}