Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Parser / if-scope-c99.c
blob63f82e0f7aa76c68f945717f7da955fb87ce8d9a
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c99 %s
3 int f (int z)
4 {
5 if (z > (int) sizeof (enum {a, b}))
6 return a;
7 return b; // expected-error{{use of undeclared identifier}}