summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/func-args-2.c
blob: a537f8956a64750f93dd187a0c4dbd96540f7300 (plain)
1
2
3
4
5
6
/* PR c/27420 */
/* { dg-do compile } */
/* { dg-options "-w" } */

void foo();
void foo(struct A a) {}  /* { dg-error "incomplete type" } */
OpenPOWER on IntegriCloud