diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/overload5.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/overload5.C | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/overload5.C b/gcc/testsuite/g++.old-deja/g++.other/overload5.C deleted file mode 100644 index 5f5e11f9dd1..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.other/overload5.C +++ /dev/null @@ -1,22 +0,0 @@ -// Build don't run: - -struct S {}; - -struct T : public S {}; - -struct U : public T {}; - -void f(int T::*) {} -void f(int U::*); - -void g(void (T::*)(int)) {} -void g(void (U::*)(int)); - -int main() -{ - int S::*ip; - void (S::*fp)(int); - - f(ip); - g(fp); -} |