aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p4484.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.mike/p4484.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p4484.C26
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p4484.C b/gcc/testsuite/g++.old-deja/g++.mike/p4484.C
deleted file mode 100644
index 64aab160965..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.mike/p4484.C
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-// prms-id: 4484
-
-class A {
- char buf[64];
-};
-
-typedef void (A::*pmf)();
-typedef void (A::*pmfc)() const;
-
-pmfc p = (pmfc)(pmf)0;
-
-class B {
-};
-
-class D : public A, public B {
-};
-
-typedef int (B::*bmfp)();
-typedef int (D::*dmfp)();
-
-bmfp foo;
-
-void bar(dmfp a) {
- bar(foo);
-}