diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/pmem3.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/pmem3.C | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/pmem3.C b/gcc/testsuite/g++.old-deja/g++.jason/pmem3.C deleted file mode 100644 index a780c2371d8..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/pmem3.C +++ /dev/null @@ -1,11 +0,0 @@ -// Test that comparison of pointers to members does not complain about -// contravariance violation. - -struct A { int i; }; -struct B : public A { int j; int f (); }; -int main () -{ - int A::*apm = &A::i; - int B::*bpm = apm; - return apm != bpm; -} |