Really fix the build failure this time
This commit is contained in:
parent
218464df89
commit
5998ec4af9
|
@ -868,7 +868,7 @@ private:
|
||||||
" a[256] = 0;\n" // 256 > CHAR_MAX
|
" a[256] = 0;\n" // 256 > CHAR_MAX
|
||||||
"}\n");
|
"}\n");
|
||||||
ASSERT_EQUALS("[test.cpp:4]: (error) Array 'a[256]' index 256 out of bounds\n"
|
ASSERT_EQUALS("[test.cpp:4]: (error) Array 'a[256]' index 256 out of bounds\n"
|
||||||
"[test.cpp:3]: (error) Array 'a[256]' index -1 out of bounds\n", errout.str());
|
"[test.cpp:3]: (error) Array index -1 out of bounds\n", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
check("void f(signed char n) {\n"
|
check("void f(signed char n) {\n"
|
||||||
|
|
Loading…
Reference in New Issue