comparison gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/func_redef_4.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* { dg-do compile } */
2
3 /* Although somewhat suspect, this isn't actively wrong, and doesn't need
4 to be diagnosed. Any attempt to call the function before including
5 arm_sve.h will lead to a link failure. (Same for taking its address,
6 etc.) */
7 extern __SVUint8_t svadd_u8_x (__SVBool_t, __SVUint8_t, __SVUint8_t);
8
9 #pragma GCC aarch64 "arm_sve.h"