1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-tmedge -fdump-tree-tmmark" } */
6 void __attribute((transaction_may_cancel_outer,noinline)) cancel1()
8 __transaction_cancel [[outer]];
14 __transaction_atomic [[outer]] {
16 __transaction_atomic {
23 /* { dg-final { scan-tree-dump-times " instrumentedCode" 1 "tmedge" } } */
24 /* { dg-final { scan-tree-dump-times "hasNoAbort" 0 "tmedge" } } */
25 /* { dg-final { scan-tree-dump-times "LABEL=<L0>" 1 "tmmark" } } */
26 /* { dg-final { cleanup-tree-dump "tmedge" } } */
27 /* { dg-final { cleanup-tree-dump "tmmark" } } */