2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / irrevocable-4.c
blob72075df36c05242a743ed64975add6f650f7202f
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
4 void orig(void);
5 void xyz(void) __attribute__((transaction_wrap (orig)));
8 foo()
10 __transaction_relaxed {
11 orig();
15 /* { dg-final { scan-tree-dump-times "hasNoIrrevocable" 0 "tmmark" } } */
16 /* { dg-final { cleanup-tree-dump "tmmark" } } */