llvm-project/clang/test/Parser/control-scope.c

9 lines
157 B
C
Raw Normal View History

// RUN: not clang %s -std=c90 &&
// RUN: clang %s -std=c99
int f (int z) {
if (z + sizeof (enum {a}))
return 1 + sizeof (enum {a});
return 0;
}