PATCH: add test for PR 16792
Ben Elliston
bje@au1.ibm.com
Wed Mar 9 01:00:00 GMT 2005
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?
Ben
2005-03-09 Ben Elliston <bje@au.ibm.com>
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;
+}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050309/569230d3/attachment.sig>
More information about the Gcc-patches
mailing list