Debian Codegraph @

gcc/testsuite/c-c++-common/tm/inline-asm.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O1 -fno-ipa-modref -fno-ipa-pure-const" } */
3
4 static inline void
5 inline_death ()
6 {
7 __asm__ (""); /* { dg-error "'asm' not allowed" } */
8 }
9
10 void
11 tranfunction ()
12 {
13 __transaction_atomic
14 {
15 inline_death ();
16 }
17 }