1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O -fdump-tree-tmmark" } */
4 /* Test that `nontrxn' doesn't end up inside the transaction. */
12 int nontrxn1
, nontrxn
;
14 static int set_remove(int * val
)
18 __transaction_relaxed
{
29 extern void bark(void);
32 nontrxn
= 99; /* Should be outside transaction. */
35 /* { dg-final { scan-tree-dump-times "_ITM_W.*nontrxn" 0 "tmmark" } } */