diff options
author | bloodstalker <thabogre@gmail.com> | 2020-07-14 15:30:12 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-07-14 15:30:12 +0000 |
commit | 835b5ba3d6594a60963af89b0487f89afe6e19f1 (patch) | |
tree | 733fbda827f60ae4d35128605fbef3679f33b05e /test/declrefexpr.cpp | |
parent | added a new switch:recorddecl. the test script is still WIP. (diff) | |
download | cgrep-835b5ba3d6594a60963af89b0487f89afe6e19f1.tar.gz cgrep-835b5ba3d6594a60963af89b0487f89afe6e19f1.zip |
wip-tests
Diffstat (limited to 'test/declrefexpr.cpp')
-rw-r--r-- | test/declrefexpr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/declrefexpr.cpp b/test/declrefexpr.cpp index c184577..b2a617d 100644 --- a/test/declrefexpr.cpp +++ b/test/declrefexpr.cpp @@ -4,7 +4,7 @@ namespace declrefexpr_ns{ class testClass { public: testClass() = default; - int a; + int testa; private: }; @@ -12,9 +12,9 @@ private: int __attribute__((weak)) main(int argc, char *argv[]) { int a; - int b; + int testb; declrefexpr_ns::testClass tc; - tc.a = 10; + tc.testa = 10; - return a + b; + return a + testb; } |