| 1 | #include <string> |
|---|---|
| 2 | |
| 3 | class C { |
| 4 | public: |
| 5 | int field_ = 1337; |
| 6 | }; |
| 7 | |
| 8 | class TestMethods { |
| 9 | public: |
| 10 | void TestInstanceVariables() { |
| 11 | C c; |
| 12 | c.field_ = -1; |
| 13 | |
| 14 | return; // Set a breakpoint here |
| 15 | } |
| 16 | }; |
| 17 | |
| 18 | int main(int argc, char **argv) { |
| 19 | TestMethods tm; |
| 20 | |
| 21 | tm.TestInstanceVariables(); |
| 22 | return 0; |
| 23 | } |
| 24 |
