diff options
Diffstat (limited to 'test/Sema/function.c')
-rw-r--r-- | test/Sema/function.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/function.c b/test/Sema/function.c index c9d8630..e7a37f1 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}} |