2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tm / irrevocable-3.c
blobfdf3e52e2e412bd9f8c7de654e72526e8b0f8b8d
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -fdump-tree-tmmark" } */
4 extern void bar(void) __attribute__((transaction_callable));
6 foo()
8 __transaction_relaxed {
9 bar();
13 /* { dg-final { scan-tree-dump-times "doesGoIrrevocable" 1 "tmmark" } } */
14 /* { dg-final { cleanup-tree-dump "tmmark" } } */