summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/enum-incomplete-4.c
blob: 03fb9f492333ecc3e69b7e2490cc007792feea6a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/79662 */
/* { dg-do compile } */
/* { dg-options "" } */

extern enum e ve;

int
f0 (int i)
{
  f0 (ve); /* { dg-error "incomplete" } */
}