jit, testsuite: fix a failing test by updating its error string [PR107999]

gcc/testsuite/ChangeLog:
	PR jit/107999
	* jit.dg/test-error-array-bounds.c: Update test.

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
This commit is contained in:
Guillaume Gomez 2023-03-02 17:52:07 -05:00 committed by David Malcolm
parent 2639f9d231
commit 6b432c0f77

View File

@ -70,5 +70,5 @@ verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
/* ...and that the message was captured by the API. */
CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
"array subscript 10 is above array bounds of"
" 'char[10]' [-Warray-bounds]");
" 'char[10]' [-Warray-bounds=]");
}