* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / c-c++-common / tm / trxn-expr-2.c
blob0ef6526db7be8e14e8f6e0876a762c2e1700fa6c
1 /* { dg-do compile } */
2 /* Make sure that we don't just crash without -fgnu-tm enabled. */
3 /* { dg-options "" } */
5 int x;
7 int foo(void)
9 return __transaction_atomic (x + 1); /* { dg-error "" } */
12 int bar(void)
14 return __transaction_relaxed (x + 1); /* { dg-error "" } */