summaryrefslogtreecommitdiff
path: root/clang/test/Parser/argument_redef.c
blob: 519e8fd2033f8451ac75f71037c9880797993799 (about) (plain)
1
2
3
4
5
6
/* RUN: %clang_cc1 -fsyntax-only -verify %s
*/

void foo(int A) { /* expected-note {{previous definition is here}} */
  int A; /* expected-error {{redefinition of 'A'}} */
}