hanchenye-llvm-project/clang/test/Parser/argument_redef.c

6 lines
187 B
C
Raw Normal View History

/* RUN: clang -parse-ast-check %s
2007-01-21 14:56:08 +08:00
*/
int foo(int A) { int A; } /* expected-error {{redefinition of 'A'}} \
expected-error {{previous definition is here}} */