]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p6311.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p6311.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p6311.C b/gcc/testsuite/g++.old-deja/g++.mike/p6311.C
deleted file mode 100644 (file)
index a0ef8c8..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// prms-id: 6311
-
-struct Foo {
-  int member;
-} a = { 42 }, *ptra = &a;
-
-int Foo::*pmd = &Foo::member;
-
-int main() {
-  if (pmd == 0)
-    return 1;
-  if (a.*pmd != 42)
-    return 2;
-  if (ptra->*pmd != 42)
-    return 3;
-}