Debian Codegraph @

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

raw
1 // PR c++/111224
2 // { dg-module-do link { target aarch64*-*-* } }
3 // { dg-require-effective-target aarch64_asm_sve_ok }
4 // { dg-additional-options "-fmodules-ts -fno-module-lazy -march=armv8.2-a+sve" }
5
6 #include <arm_sve.h>
7 import M;
8
9 int main() {
10 svbool_t x = svptrue_b8 ();
11 svfloat16_t f = svdup_n_f16(1.0);
12 foo(x, f);
13 }