cppcheck/test/cli/proj-inline-suppress/3.cpp

7 lines
156 B
C++
Raw Normal View History

// From forum: https://sourceforge.net/p/cppcheck/discussion/general/thread/e67653efdb/
void foo()
{ // cppcheck-suppress zerodiv
2021-08-07 20:51:18 +02:00
int x = 10000 / 0;
}