]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Fix part of sve-sizeless-2.c
authorAndrew Pinski <quic_apinski@quicinc.com>
Sun, 1 Dec 2024 04:34:54 +0000 (20:34 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 1 Dec 2024 04:34:54 +0000 (20:34 -0800)
r15-5783-gb5df3eefd70064 missed to update part of sve-sizeless-2.C to
include the declaration of the bar function.
This corrects the oversight there.

Pushed as obvious after testing the tecase for aarch64-linux-gnu.

gcc/testsuite/ChangeLog:

* g++.dg/ext/sve-sizeless-2.C: Add declaration of bar.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/g++.dg/ext/sve-sizeless-2.C

index 87937d060d2e50adbc7c0b03db7c6f8c94ea8dd4..a5ee230f76a35fff6134b0ec052a8a658664e345 100644 (file)
@@ -124,6 +124,8 @@ void thrower2 () throw (svint8_t); // { dg-error {cannot throw or catch SVE type
 void thrower3 () throw (svint8_t); // { dg-error {cannot throw or catch SVE type 'svint8_t'} "" { target c++98_only } }
 #endif
 
+extern int bar (void);
+
 // Main tests for statements and expressions.
 
 void