aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/arg-duplicate.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-06 06:47:48 +0000
committerChris Lattner <sabre@nondot.org>2008-04-06 06:47:48 +0000
commitaaf9ddbeab08a43203cf6b9ca4986c8c6fe6fdc6 (patch)
treecaadd21ecd2045055bbc8f5f60bab5ec3625f554 /test/Sema/arg-duplicate.c
parent50c6477a06186aeee50415fd90e5f71da68e8616 (diff)
reject 'typedef int y; int test(x, y)'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49270 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/arg-duplicate.c')
-rw-r--r--test/Sema/arg-duplicate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/Sema/arg-duplicate.c b/test/Sema/arg-duplicate.c
index b57fd950bf..81cb8fd9c2 100644
--- a/test/Sema/arg-duplicate.c
+++ b/test/Sema/arg-duplicate.c
@@ -1,6 +1,5 @@
// RUN: clang -fsyntax-only -verify %s
-typedef int x;
int f3(y, x,
x) // expected-error {{redefinition of parameter}}
int y, x,