brintos

brintos / llvm-project-archived public Read only

0
0
Text · 193 B · f0edae3 Raw
14 lines · c
1// RUN: %clang_cc1 -fsyntax-only %s -verify2// expected-no-diagnostics3enum A { A1, A2, A3 };4typedef enum A A;5void test(void) {6  A a;7  a++;8  a--;9  ++a;10  --a;11  a = a + 1;12  a = a - 1;13}14