| 1 | // RUN: %clang_cc1 -fsyntax-only -verify -std=c90 %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | int f (int z) |
| 5 | { |
| 6 | if (z > (int) sizeof (enum {a, b})) |
| 7 | return a; |
| 8 | return b; |
| 9 | } |
| 10 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify -std=c90 %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | int f (int z) |
| 5 | { |
| 6 | if (z > (int) sizeof (enum {a, b})) |
| 7 | return a; |
| 8 | return b; |
| 9 | } |
| 10 |