1/* { dg-do compile } */
2/* { dg-options "-fgnu-tm" } */
3
4static int x;
5
6void __attribute__((transaction_callable))
7foo(void)
8{
9  x++;
10}
11
12/* { dg-final { scan-assembler "_ZGTt3foo" } } */
13