Mercurial > hg > CbC > CbC_gcc
diff gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/func_redef_5.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/func_redef_5.c Thu Feb 13 11:34:05 2020 +0900 @@ -0,0 +1,15 @@ +/* { dg-do compile } */ + +__SVUint8_t +svadd_u8_x (__SVBool_t pg, __SVUint8_t x, __SVUint8_t y) +{ + return x; +} + +#pragma GCC aarch64 "arm_sve.h" + +svuint8_t +f (svbool_t pg, svuint8_t x, svuint8_t y) +{ + return svadd_u8_x (pg, x, y); +}