Debian Codegraph @

gcc/testsuite/gcc.dg/tm/ipa-3.c

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