OSDN Git Service

Merge remote-tracking branch 'gnu/gcc-4_7-branch' into rework
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tm / asm-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-fgnu-tm -O1" } */
3
4 static inline void asmfunc()
5 {
6 __asm__("");
7 }
8
9 __attribute__((transaction_callable))
10 void push()
11 {
12         asmfunc();
13 }