From 4b44e2ee8c92b22c04e50c03d0efa35421c0da52 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 20 May 2008 12:55:29 +0000 Subject: [PATCH] Test from PR2332; bug already fixed by r51311. llvm-svn: 51316 --- clang/test/Parser/traditional_arg_scope.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/test/Parser/traditional_arg_scope.c b/clang/test/Parser/traditional_arg_scope.c index 222de863fba0..e1b02567eec2 100644 --- a/clang/test/Parser/traditional_arg_scope.c +++ b/clang/test/Parser/traditional_arg_scope.c @@ -3,3 +3,5 @@ x(a) int a; {return a;} y(b) int b; {return a;} // expected-error {{use of undeclared identifier}} +// PR2332 +a(a)int a;{a=10;return a;}