]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/ref3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / ref3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ref3.C b/gcc/testsuite/g++.old-deja/g++.other/ref3.C
deleted file mode 100644 (file)
index 6d615d4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-struct B1
-{
-  int i;
-};
-
-struct B2
-{
-  int j;
-};
-
-struct D: public B1, B2 
-{
-};
-
-bool f (B2& b)
-{
-  return b.j == 7;
-}
-
-int main ()
-{
-  D d;
-  d.i = 2;
-  d.j = 7;
-  if (!f (d))
-    return 1;
-}
-