]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp74.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp74.C
deleted file mode 100644 (file)
index e99103f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link:
-
-template <class T>
-class S
-{
-protected:
-  template <class U>
-  void f(U); // ERROR - is protected
-
-private:
-  template <class U>
-  void g(U); // ERROR - is private
-};
-
-
-void f()
-{
-  S<double> s;
-  s.f(3); // ERROR - within this context
-  s.g(2.0); // ERROR - within this context
-}