We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31337dd commit 8cba02dCopy full SHA for 8cba02d
1 file changed
test/testother.cpp
@@ -264,6 +264,11 @@ class TestOther : public TestFixture {
264
" cout << 42 / (float)0;\n"
265
"}");
266
ASSERT_EQUALS("", errout.str());
267
+
268
+ check("void foo() {\n"
269
+ " cout << 42 / (int)0;\n"
270
+ "}");
271
+ TODO_ASSERT_EQUALS("[test.cpp:2]: (error) Division by zero.\n", "", errout.str());
272
}
273
274
void zeroDiv2() {
0 commit comments