☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
tm
/
inline-asm.c
☽
☼
gcc/testsuite/c-c++-common/tm/inline-asm.c
code
plain
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
}