Home | History | Annotate | Download | only in formatters
      1 #include <stdio.h>
      2 #include <vector>
      3 
      4 struct JustAStruct
      5 {
      6 	int A;
      7 	float B;
      8 	char C;
      9 	double D;
     10 	long E;
     11 	short F;
     12 };
     13 
     14 struct FooType
     15 {
     16 	int A;
     17 	float B;
     18 	char C;
     19 	double D;
     20 	long E;
     21 	short F;
     22 };
     23 
     24 int main(int argc, char const *argv[]) {
     25 	JustAStruct foo;
     26 	foo.A = 1;
     27 	foo.B = 3.14;
     28 	foo.C = 'e';
     29 	foo.D = 6.28;
     30 	foo.E = 3100419850;
     31 	foo.F = 0;
     32 	FooType bar;
     33 	bar.A = 1;
     34 	bar.B = 3.14;
     35 	bar.C = 'e';
     36 	bar.D = 6.28;
     37 	bar.E = 3100419850;
     38 	bar.F = 0;
     39 	JustAStruct* foo_ptr = &foo;
     40 	std::vector<int> int_vector;
     41 	return 0; // Set break point at this line.
     42 }
     43