]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/sorry1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / sorry1.C
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 (file)
index caa9276..0000000
+++ /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();
-}