]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/return1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / return1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/return1.C b/gcc/testsuite/g++.old-deja/g++.ext/return1.C
deleted file mode 100644 (file)
index 29e1fc3..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Test that the named return value extension works when passed as a reference.
-// Origin: Jason Merrill <jason@redhat.com>
-// Special g++ Options: -Wno-deprecated
-
-void f (int &i)
-{
-  i = 42;
-}
-
-int g () return r
-{
-  f (r);
-}
-
-int main ()
-{
-  int i = g ();
-  return (i != 42);
-}