aarch64: Update error message check for __builtin_launder check of sve-sizeless-2.C

r15-3614-g9fe57e4879de93 changed the error message for __builtin_launder but this testcase
was not updated for the new format of the error message since it is an aarch64 specific
testcase.

This patch updates the expected error message.

Pushed as obvious after testing to see the testcase now works.

gcc/testsuite/ChangeLog:

	* g++.dg/ext/sve-sizeless-2.C: Update the expected error message
	for __builtin_launder.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
This commit is contained in:
Andrew Pinski 2024-11-26 13:38:15 -08:00
parent 1a0d48060d
commit 4a2352828e

View File

@ -301,7 +301,7 @@ statements (int n)
// Other built-ins
__builtin_launder (sve_sc1); // { dg-error {non-pointer argument to '__builtin_launder'} }
__builtin_launder (sve_sc1); // { dg-error {'svint8_t' of argument to '__builtin_launder' is not a pointer to object type} }
__builtin_memcpy (&sve_sc1, &sve_sc2, 2);
// Lambdas