aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r--test/Sema/function.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c
index 7c67bbaa63..f2aa8d9216 100644
--- a/test/Sema/function.c
+++ b/test/Sema/function.c
@@ -29,3 +29,6 @@ int t9(int a, ); // expected-error {{expected parameter declarator}}
void t10(){}
void t11(){t10(1);}
+// PR3208
+void t12(int) {} // expected-error{{parameter name omitted}}
+