diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/ptrmem4.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/ptrmem4.C | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/ptrmem4.C b/gcc/testsuite/g++.old-deja/g++.other/ptrmem4.C deleted file mode 100644 index dc378b23e6f..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/ptrmem4.C +++ /dev/null @@ -1,12 +0,0 @@ -// Test to make sure g++ can handle target types that aren't identical -// with pointers to members. - -struct A { int i; }; -struct B : public A { }; - -int main () -{ - int A::*p = &A::i; - const int B::*q = &A::i; - return p != q; -} |