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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c
index c9d8630c47f6..e7a37f1a2fc1 100644
--- a/test/Sema/function.c
+++ b/test/Sema/function.c
@@ -87,3 +87,5 @@ unknown_type t19(int* P) { // expected-error {{unknown type name 'unknown_type
P = P+1; // no warning.
}
+// missing ',' before '...'
+void t20(int i...) { } // expected-error {{requires a comma}}