]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Import/compound-assign-op/Inputs/F.cpp
Vendor import of clang trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / Import / compound-assign-op / Inputs / F.cpp
1 void f() {
2   unsigned iadd_eq = 0U;
3   iadd_eq += 1U;
4   unsigned isub_eq = 0U;
5   isub_eq -= 1U;
6   unsigned imul_eq = 0U;
7   imul_eq *= 1U;
8   unsigned idiv_eq = 0U;
9   idiv_eq /= 1U;
10   unsigned iand_eq = 0U;
11   iand_eq &= 1U;
12   unsigned ixor_eq = 0U;
13   ixor_eq ^= 1U;
14   unsigned ilsh_eq = 0U;
15   ilsh_eq <<= 1U;
16   unsigned irsh_eq = 0U;
17   irsh_eq >>= 1U;
18 }