]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/warning8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / warning8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/warning8.C b/gcc/testsuite/g++.old-deja/g++.jason/warning8.C
deleted file mode 100644 (file)
index d6ea821..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link:
-
-struct A {
-  A();
-  ~A();
-};
-
-struct B {
-  B (const A&);
-  ~B ();
-};
-
-const B& f ()
-{
-  A a;
-  return a;                    // WARNING - returning reference to temporary
-}