Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/acle/tme_guard-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-march=armv8-a" } */
3
4 #include <arm_acle.h>
5
6 void foo (void)
7 {
8 __tcommit (); /* { dg-error {ACLE function '__tcommit' requires ISA extension 'tme'} } */
9 }