diff options
Diffstat (limited to 'clang/test/Sema/arg-duplicate.c')
-rw-r--r-- | clang/test/Sema/arg-duplicate.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang/test/Sema/arg-duplicate.c b/clang/test/Sema/arg-duplicate.c deleted file mode 100644 index 81cb8fd..0000000 --- a/clang/test/Sema/arg-duplicate.c +++ /dev/null @@ -1,14 +0,0 @@ -// RUN: clang -fsyntax-only -verify %s - -int f3(y, x, - x) // expected-error {{redefinition of parameter}} - int y, x, - x; // expected-error {{redefinition of parameter}} -{ - return x + y; -} - -void f4(void) { - f3 (1, 1, 2, 3, 4); // expected-error {{too many arguments to function}} -} - |