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

Function test_symbol_database_2

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

Source from the content-addressed store, hash-verified

70 __check_symbol_database(tmpdir, 'int main(){return 0;}')
71
72def test_symbol_database_2(tmpdir):
73 __check_symbol_database(tmpdir, 'struct Foo { void f(); }; void Foo::f() {}')
74
75def test_symbol_database_3(tmpdir):
76 __check_symbol_database(tmpdir, 'struct Fred { int a; }; int b; void f(int c, int d) { int e; }')

Callers

nothing calls this directly

Calls 1

__check_symbol_databaseFunction · 0.85

Tested by

no test coverage detected