1 // { dg-do compile }
2 // { dg-options "-fgnu-tm -fnon-call-exceptions" }
3 
4 struct S
5 {
SS6   S ()
7   {
8   }
9 };
10 
11 __attribute__ ((transaction_callable))
foo(int * p)12 void foo (int *p)
13 {
14   S s;
15   if (*p)
16     ;
17 }
18 
19 // { dg-message "sorry, unimplemented: transactional memory is not supported with non-call exceptions" "-fnon-call-exceptions and -fgnu-tm together" { target *-*-* } 0 }
20