1  /* { dg-do compile } */
       2  /* { dg-options "-fgnu-tm -O" } */
       3  
       4  int global;
       5  int george;
       6  
       7  extern void crap() __attribute__((transaction_unsafe));
       8  
       9  void
      10  foo()
      11  {
      12  	__transaction_relaxed {
      13  		global++;
      14  		crap();
      15  		george++;
      16  	}
      17  }