Sign in
gnu
/
gcc
/
f0d57d62b1df1f9e7c02edb66d68810d935754bf
/
.
/
gcc
/
testsuite
/
c-c++-common
/
tm
/
inline-asm.c
blob: eefd347dc8ff71a1568270c0276337555ed4dd44 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -O1" } */
static
inline
void
inline_death
()
{
__asm__
(
""
);
/* { dg-error "asm not allowed" } */
}
void
tranfunction
()
{
__transaction_atomic
{
inline_death
();
}
}