Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
tm
/
inline-asm.c
blob: 73892601897a73ccba6619d2995cbeb9d765d962 [
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
();
}
}