view gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/func_redef_4.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
line wrap: on
line source

/* { dg-do compile } */

/* Although somewhat suspect, this isn't actively wrong, and doesn't need
   to be diagnosed.  Any attempt to call the function before including
   arm_sve.h will lead to a link failure.  (Same for taking its address,
   etc.)  */
extern __SVUint8_t svadd_u8_x (__SVBool_t, __SVUint8_t, __SVUint8_t);

#pragma GCC aarch64 "arm_sve.h"