]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/access11.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / access11.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/access11.C b/gcc/testsuite/g++.old-deja/g++.other/access11.C
deleted file mode 100644 (file)
index 04340c7..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link:
-// Origin: r.spatschek@fz-juelich.de
-// Special g++ Options: -w
-
-class A
-{
-private:
-  template <class T> void g(T t)  {}
-  int i;
-};
-
-template <>
-void A::g<int>(int t) { i = 1; } // ERROR - private
-
-int main()
-{
-  A a;
-  a.g<int>(0); // ERROR - private
-}