blob: fdf3e52e2e412bd9f8c7de654e72526e8b0f8b8d [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
extern void bar(void) __attribute__((transaction_callable));
foo()
{
__transaction_relaxed {
bar();
}
}
/* { dg-final { scan-tree-dump-times "doesGoIrrevocable" 1 "tmmark" } } */
/* { dg-final { cleanup-tree-dump "tmmark" } } */