llvm-for-llvmta/tools/clang/test/Import/compound-assign-op/Inputs/F.cpp

19 lines
351 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
void f() {
unsigned iadd_eq = 0U;
iadd_eq += 1U;
unsigned isub_eq = 0U;
isub_eq -= 1U;
unsigned imul_eq = 0U;
imul_eq *= 1U;
unsigned idiv_eq = 0U;
idiv_eq /= 1U;
unsigned iand_eq = 0U;
iand_eq &= 1U;
unsigned ixor_eq = 0U;
ixor_eq ^= 1U;
unsigned ilsh_eq = 0U;
ilsh_eq <<= 1U;
unsigned irsh_eq = 0U;
irsh_eq >>= 1U;
}