]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.law/scope1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / scope1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.law/scope1.C b/gcc/testsuite/g++.old-deja/g++.law/scope1.C
deleted file mode 100644 (file)
index aa70fde..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Build don't link: 
-// GROUPS passed scoping
-// scoping file
-// From: kol@world.std.com (Nikolay Yatsenko)
-// Date:     Fri, 16 Jul 1993 18:48:32 -0400
-// Subject:  g++ gives wrong error for local structure
-// Message-ID: <199307162248.AA05360@world.std.com>
-
-int main(void)
-{
-  struct A{
-  public:       int i;
-    void set (int i)
-      {A::i = i;}           // g++ gives wrong error
-  };
-
-  A a;
-  a.set(17);
-  return 0;
-}