2009-03-24 10:24:46 +08:00
|
|
|
/* RUN: clang-cc -fsyntax-only -verify %s
|
2007-01-21 14:56:08 +08:00
|
|
|
*/
|
|
|
|
|
2008-11-24 07:12:31 +08:00
|
|
|
int foo(int A) { /* expected-note {{previous definition is here}} */
|
2007-06-27 15:31:17 +08:00
|
|
|
int A; /* expected-error {{redefinition of 'A'}} */
|
|
|
|
}
|