]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/virtual2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / virtual2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/virtual2.C b/gcc/testsuite/g++.old-deja/g++.other/virtual2.C
deleted file mode 100644 (file)
index a3ebbcd..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-struct B
-{
-  virtual int f() volatile
-    { return 0; }
-};
-
-
-struct D : public B 
-{
-  virtual int f()
-    { return 1; }
-};
-
-int main()
-{
-  volatile D d;
-  volatile B& b = d;
-  return b.f();
-}