Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlfaultinjection / repo / third_party / cstyle / repo / tests / missing-space-after-if.cpp
1 extern void foo(void);
2
3 void test_1(int aArgument)
4 {
5     if(aArgument % 2 != 0) foo();
6 }
7
8 void test_2(int aArgument)
9 {
10     if(aArgument % 2 != 0) { foo(); }
11 }
12
13 void test_3(int aArgument)
14 {
15     if(aArgument % 2 != 0) {
16         foo();
17     }
18 }
19
20 void test_4(int aArgument)
21 {
22     if(aArgument % 2 != 0)
23     {
24         foo();
25     }
26 }