]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ns/koenig6.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / koenig6.C
diff --git a/gcc/testsuite/g++.old-deja/g++.ns/koenig6.C b/gcc/testsuite/g++.old-deja/g++.ns/koenig6.C
deleted file mode 100644 (file)
index dc54903..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-namespace A{
-  struct X{};
-
-  X foo(X a){return a;}
-  void bar(X*){}
-}
-
-int main()
-{
-  A::X x;
-  bar(&foo(x));  // WARNING - address of temporary
-}