diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/byval.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/byval.C | 19 |
1 files changed, 0 insertions, 19 deletions
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 index bd17797a181..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/byval.C +++ /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; -} |