aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr101364-1.c
blob: e7c94a05553cdeeeb2d27172a560085335054aae (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */
/* { dg-options "-std=c90 "} */

void fruit(); /* { dg-message "previous declaration" } */
void fruit( /* { dg-error "conflicting types for" } */
    int b[x], /* { dg-error "undeclared " } */
    short c)
{} /* { dg-message "an argument type that has a" } */