diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/pr71624.C')
-rw-r--r-- | gcc/testsuite/g++.dg/pr71624.C | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/gcc/testsuite/g++.dg/pr71624.C b/gcc/testsuite/g++.dg/pr71624.C deleted file mode 100644 index 951534ce875..00000000000 --- a/gcc/testsuite/g++.dg/pr71624.C +++ /dev/null @@ -1,35 +0,0 @@ -/* PR71624 */ -/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! x32 } } } } */ -/* { dg-options "-fcheck-pointer-bounds -mmpx -O2" } */ - -class c1 -{ -public: - virtual int fn1 () const; - int fn2 (const int *) const; -}; - -class c2 -{ - int fn1 (); - c1 obj; -}; - -int -c1::fn1 () const -{ - return 0; -} - -int -c1::fn2 (const int *) const -{ - return this->fn1 (); -} - -int -c2::fn1 () -{ - return obj.fn2 (0); -} - |