1 | #include <iostream> |
2 | |
3 | class Baz { |
4 | public: |
5 | int x; |
6 | }; |
7 | |
8 | class Foo |
9 | { |
10 | public: |
11 | Baz t; |
12 | int temp; |
13 | |
14 | int Bar(int x, int y) { return x + y; } |
15 | }; |
16 | |
17 | namespace { int Quux (void) { return 0; } } |
18 | |
19 | struct Container { int MemberVar; }; |
20 | |
21 | int main(int argc, char *argv[]) { |
22 | if (argc > 1 && std::string(argv[1]) == "-x" ) |
23 | std::cin.get(); |
24 | |
25 | Foo fooo; |
26 | Foo *ptr_fooo = &fooo; |
27 | fooo.Bar(x: 1, y: 2); |
28 | |
29 | Container container; |
30 | Container *ptr_container = &container; |
31 | int q = Quux(); |
32 | return container.MemberVar = 3; // Break here |
33 | } |
34 | |