blob: 44fbc733027d8cca3ad5d06e82ea6d74b5b93019 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* 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" } */
}
|