aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C36
1 files changed, 0 insertions, 36 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C b/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C
deleted file mode 100644
index caa9276f8a8..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C
+++ /dev/null
@@ -1,36 +0,0 @@
-// Build don't link:
-// GROUPS passed old-sorry
-class a {
-public:
- int* foo();
-};
-
-a aa;
-a* ap;
-
-class b {
-public:
- int ok(int* p =aa.foo());
-
- // dump_init should know what to do with this NON_LVALUE_EXPR
- int f(int* p =ap->foo());
-};
-
- int
-b::ok(int *p)
-{
- return 0;
-}
-
- int
-b::f(int *p)
-{
- return 0;
-}
- void
-bar()
-{
- b b;
- b.ok();
- b.f();
-}