fix testrunner (sample was not updated in f5e8a72dc2
).
This commit is contained in:
parent
f5e8a72dc2
commit
b42feb7b88
|
@ -230,7 +230,7 @@ private:
|
||||||
"{\n"
|
"{\n"
|
||||||
" char *x = alloca(10);\n"
|
" char *x = alloca(10);\n"
|
||||||
"}", "test.cpp"); // #4382 - there are no VLAs in C++
|
"}", "test.cpp"); // #4382 - there are no VLAs in C++
|
||||||
ASSERT_EQUALS("[test.cpp:3]: (warning) Obsolete function 'alloca' called. In C++11 and later it is recommended to use std::array<> instead.\n", errout.str());
|
ASSERT_EQUALS("[test.cpp:3]: (warning) Obsolete function 'alloca' called.\n", errout.str());
|
||||||
|
|
||||||
check("void f()\n"
|
check("void f()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
|
|
Loading…
Reference in New Issue