Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlfaultinjection / repo / third_party / cstyle / repo / tests / missing-space-after-while.cpp
1 extern void foo(void);
2
3 void test_1(void)
4 {
5     do { foo(); } while(true);
6 }
7
8 void test_2(void)
9 {
10     do {
11         foo();
12     } while(true);
13 }
14
15 void test_3(void)
16 {
17     do
18     {
19         foo();
20     }
21     while(true);
22 }
23
24 void test_4(void)
25 {
26     do foo(); while(true);
27 }
28
29 void test_5(void)
30 {
31     while(true) { foo(); }
32 }
33
34 void test_6(void)
35 {
36     while(true) {
37         foo();
38     }
39 }
40
41 void test_7(void)
42 {
43     while(true)
44     {
45         foo();
46     }
47 }
48
49 void test_8(void)
50 {
51     while(true) foo();
52 }