]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/typename16.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename16.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename16.C b/gcc/testsuite/g++.old-deja/g++.pt/typename16.C
deleted file mode 100644 (file)
index 225cc89..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Build don't run:
-// Special g++ Options: -Wno-deprecated
-
-struct B {
-  typedef int I;
-};
-
-template <class T>
-struct D1 : public B {
-};
-
-template <class T>
-struct D2 : public D1<T> {
-  I i;  // WARNING - implicit typename
-};
-
-template <>
-struct D1<int> {
-  typedef double I;
-};
-
-template <class T>
-void f(T);
-template <>
-void f(double) {}
-
-int main()
-{
-  D2<int> d2i;
-  f(d2i.i);
-}