This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I wrote a test for this PR before it was fixed and closed. We should still keep the test as a regression test case. Okay for mainline?
PR debug/16792 * g++.dg/debug/pr16792.C: New test.
Index: testsuite/g++.dg/debug/pr16792.C =================================================================== RCS file: testsuite/g++.dg/debug/pr16792.C diff -N testsuite/g++.dg/debug/pr16792.C --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ testsuite/g++.dg/debug/pr16792.C 9 Mar 2005 00:59:45 -0000 @@ -0,0 +1,10 @@ +// { dg-do compile } + +struct S { S(); }; +int foo (S b, double j) { }; + +int main () +{ + int foo (S, double); + S v; +}
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |