blob: 44fbc733027d8cca3ad5d06e82ea6d74b5b93019 [file] [log] [blame]
/* PR c/7411 */
/* Contributed by Christian Ehrhardt */
/* { dg-do compile } */
void foo(void)
{
char c; /* { dg-error "previous declaration" } */
int i;
int c = i; /* { dg-error "conflicting types" } */
}