MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / test_ast

Function test_ast

test/cli/clang-import_test.py:115–116  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

113 __check_ast(tmpdir, 'void foo(int a, int b, int c) { foo(a,b,c); }')
114
115def test_ast(tmpdir):
116 __check_ast(tmpdir, 'struct S { int x; }; S* foo() { return new S(); }')
117
118def test_log(tmpdir):
119 test_file = os.path.join(tmpdir, 'test.cpp')

Callers

nothing calls this directly

Calls 1

__check_astFunction · 0.85

Tested by

no test coverage detected