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

Method testGetFileInfo

test/testclass.cpp:9341–9344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9339 }
9340
9341 void testGetFileInfo() {
9342 getFileInfo("void foo() { union { struct { }; }; }"); // don't crash
9343 getFileInfo("struct sometype { sometype(); }; sometype::sometype() = delete;"); // don't crash
9344 }
9345
9346#define checkReturnByReference(...) checkReturnByReference_(__FILE__, __LINE__, __VA_ARGS__)
9347 template<size_t size>

Callers

nothing calls this directly

Calls 1

getFileInfoFunction · 0.85

Tested by

no test coverage detected