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

Function test_symbol_database_struct_1

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

Source from the content-addressed store, hash-verified

100 __check_symbol_database(tmpdir, 'struct Fred { void operator=(int x); };')
101
102def test_symbol_database_struct_1(tmpdir):
103 __check_symbol_database(tmpdir, 'struct S {};')
104
105def test_ast_calculations(tmpdir):
106 __check_ast(tmpdir, 'int x = 5; int y = (x + 4) * 2;')

Callers

nothing calls this directly

Calls 1

__check_symbol_databaseFunction · 0.85

Tested by

no test coverage detected