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

7 lines
169 B
C
Raw Normal View History

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