We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c4084e commit d24882dCopy full SHA for d24882d
test/cli/clang-import_test.py
@@ -361,6 +361,10 @@ def test_tokens_function2(tmp_path):
361
assert '3:\n' in stdout
362
assert '4: return 12 ;' in stdout
363
364
+def test_tokens_function3(tmp_path):
365
+ test_file = tmp_path / 'test.cpp'
366
+ stdout = _run_cppcheck_debug(test_file, '\nint x; void foo(){ x |= 1 << 30; }')
367
+ assert '2: int ...void foo ( int x@var1 , int y@var2 ) { }' in stdout
368
369
def test_tokens_for(tmp_path):
370
test_file = tmp_path / 'test.cpp'
0 commit comments