1 /* { dg-do compile { target { lp64 } } } */
2 /* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
3 
4 __attribute__ ((function_return("thunk")))
5 void
bar(void)6 bar (void)
7 { /* { dg-error "'-mfunction-return=thunk' and '-mcmodel=large' are not compatible" } */
8 }
9