]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/byval.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / byval.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/byval.C b/gcc/testsuite/g++.old-deja/g++.jason/byval.C
deleted file mode 100644 (file)
index bd17797..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Bug: a is destroyed in both foo() and main()
-
-int count;
-
-struct A {
-  double a,b;
-  A(int) { count++; }
-  A(const A&) { count++; }
-  ~A() { count--; }
-};
-
-void foo (A a)
-{ }
-
-int main()
-{
-  foo (1);
-  return count;
-}