Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf21a47

Browse files
author
Robert Marsh
committed
C++: add some global variables to IR tests
1 parent d3d20c6 commit bf21a47

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • cpp/ql/test/library-tests/ir/ir

cpp/ql/test/library-tests/ir/ir/ir.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,4 +1669,10 @@ void tuple_structured_binding_no_ref_get() {
16691669
}
16701670
}
16711671

1672+
int global_1;
1673+
1674+
int global_2 = 1;
1675+
1676+
const int global_3 = 2;
1677+
16721678
// semmle-extractor-options: -std=c++17 --clang

0 commit comments

Comments
 (0)