]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/ns18.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / ns18.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/ns18.C b/gcc/testsuite/g++.old-deja/g++.ns/ns18.C
deleted file mode 100644 (file)
index 445ef6b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Build don't link:
-// Origin: Theo Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
-
-namespace Bname {
-  class B;
-}
-
-template <class T>
-class A {
-  friend class Bname::B;
-  static const int a = 1;
-public:
-  A() { }
-};
-
-namespace Bname {
-  class B {
-       int a;
-  public:
-       template<class T>
-       B(const T&):a(T::a) { }
-  };
-}
-
-int
-main()
-{
-  A<int> a;
-  Bname::B b(a);
-}