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