blob: 1e9f9bd5a661c9083c837a9d4bd6846e9f020cc1 [file] [log] [blame]
/* { dg-do compile { target { lp64 } } } */
/* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
/* { dg-additional-options "-fPIC" { target fpic } } */
__attribute__ ((function_return("thunk-extern")))
void
bar (void)
{ /* { dg-error "'-mfunction-return=thunk-extern' and '-mcmodel=large' are not compatible" } */
}