]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tm/pr52141.c
0dabf76ce6dac69107021903f8277a6e301be631
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O0 -w" } */
4 __attribute__((always_inline
))
5 static void asmfunc(void)
7 __asm__ (""); /* { dg-error "asm not allowed in .transaction_safe" } */
10 __attribute__((transaction_safe
))
18 __transaction_atomic
{
24 /* { dg-message "inlined from \'f\'" "" { target *-*-* } 0 } */