[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / Parser / control-scope.c
blob53149802c4cb522cfafe28914fb5966b01a42b98
1 // RUN: %clang_cc1 %s -std=c90 -verify
2 // RUN: %clang_cc1 %s -std=c99
4 int f (int z) {
5 if (z + sizeof (enum {a})) // expected-note {{previous definition is here}}
6 return 1 + sizeof (enum {a}); // expected-error {{redefinition of enumerator 'a'}}
7 return 0;