aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr16792.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/debug/pr16792.C')
-rw-r--r--gcc/testsuite/g++.dg/debug/pr16792.C10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/debug/pr16792.C b/gcc/testsuite/g++.dg/debug/pr16792.C
new file mode 100644
index 00000000000..39003cbe299
--- /dev/null
+++ b/gcc/testsuite/g++.dg/debug/pr16792.C
@@ -0,0 +1,10 @@
+// { dg-do compile }
+
+struct S { S(); };
+int foo (S b, double j) { };
+
+int main ()
+{
+ int foo (S, double);
+ S v;
+}