Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / API / python_api / formatters / main.cpp
blobf21c956144c29b2051a116589a9658b0b9786cf1
1 #include <stdio.h>
2 #include <vector>
4 struct JustAStruct
6 int A;
7 float B;
8 char C;
9 double D;
10 long E;
11 short F;
14 struct FooType
16 int A;
17 float B;
18 char C;
19 double D;
20 long E;
21 short F;
24 struct CCC
26 int a, b, c;
29 struct Empty1 { void *data; };
30 struct Empty2 { void *data; };
33 int main(int argc, char const *argv[]) {
34 JustAStruct foo;
35 foo.A = 1;
36 foo.B = 3.14;
37 foo.C = 'e';
38 foo.D = 6.28;
39 foo.E = 3100419850;
40 foo.F = 0;
42 FooType bar;
43 bar.A = 1;
44 bar.B = 3.14;
45 bar.C = 'e';
46 bar.D = 6.28;
47 bar.E = 3100419850;
48 bar.F = 0;
49 JustAStruct* foo_ptr = &foo;
51 std::vector<int> int_vector;
53 CCC ccc = {111, 222, 333};
55 Empty1 e1;
56 Empty2 e2;
58 return 0; // Set break point at this line.