1/* { dg-do compile } */
2/* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
3
4extern void bar(void) __attribute__((transaction_callable));
5
6void
7foo()
8{
9	__transaction_relaxed {
10		bar();
11	}
12}
13
14/* { dg-final { scan-tree-dump-times "doesGoIrrevocable" 1 "tmmark" } } */
15/* { dg-final { cleanup-tree-dump "tmmark" } } */
16