summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-enum-comma-1.c
blob: 1b676a22917be86e0c8c127119bb106c533d2cc7 (plain)
1
2
3
4
5
6
/* Test for commas at end of enums: in C99 only.  */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */

enum foo { bar, };