summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/proto-1.c
blob: 62d0209b08f946c6f434cdedaa3a029ac344355c (plain)
1
2
3
4
5
/* PR c/28502 */
/* { dg-do compile } */

void foo() {}      /* { dg-message "note: previous" } */
void foo(void[]);  /* { dg-error "array of voids" } */