summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.gb/sig09.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.gb/sig09.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.gb/sig09.C34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.gb/sig09.C b/gcc/testsuite/g++.old-deja/g++.gb/sig09.C
deleted file mode 100644
index a2e3b33e192..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.gb/sig09.C
+++ /dev/null
@@ -1,34 +0,0 @@
-// Special g++ Options: -fhandle-signatures
-// GROUPS passed gb sigptr assignment initialization new
-// Test assignment to/initialization of signature pointer with run-time value.
-
-extern "C"
-{
- int printf (char *, ...);
-}
-
-class C
-{
-public:
- int f (void) { return 1; }
-};
-
-signature S
-{
- int f (void);
-};
-
-S * p1 = new C;
-
-int main (void)
-{
- S * p2 = new C;
- S * p3;
-
- p3 = new C;
-
- if (p1->f () + p2->f () + p3->f () == 3)
- printf ("PASS\n");
-
- return 0;
-}