gcc/testsuite/gcc.target/arm/pr110268-1.c
raw| 1 | /* { dg-do link } */ |
| 2 | /* { dg-require-effective-target arm_arch_v8_1m_main_link } */ /* Make sure we have suitable multilibs to link successfully. */ |
| 3 | /* { dg-require-effective-target arm_v8_1m_mve_ok } */ |
| 4 | /* { dg-add-options arm_v8_1m_mve } */ |
| 5 | /* { dg-additional-options "-O2 -flto" } */ |
| 6 | |
| 7 | #include <arm_mve.h> |
| 8 | |
| 9 | int main(int argc, char* argv[]) |
| 10 | { |
| 11 | return vaddvq(__arm_vdupq_n_s8 (argc)); |
| 12 | } |