Debian Codegraph @

gcc/testsuite/g++.dg/modules/target-aarch64-1_a.C

raw
1 // PR c++/111224
2 // { dg-do compile { target aarch64*-*-* } }
3 // { dg-require-effective-target aarch64_asm_sve_ok }
4 // { dg-additional-options "-fmodules-ts -march=armv8.2-a+sve" }
5
6 module;
7
8 // We can't do a header unit of this right now because this
9 // uses target attributes, that we don't yet support.
10 // See also PR c++/108080.
11 #include <arm_sve.h>
12
13 export module M;
14
15 export inline void foo(svbool_t x, svfloat16_t f) {
16 svabs_f16_x(x, f);
17 }