Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / ret-thunk-20.c
blob1e9f9bd5a661c9083c837a9d4bd6846e9f020cc1
1 /* { dg-do compile { target { lp64 } } } */
2 /* { dg-options "-O2 -mfunction-return=keep -mindirect-branch=keep -mcmodel=large" } */
3 /* { dg-additional-options "-fPIC" { target fpic } } */
5 __attribute__ ((function_return("thunk-extern")))
6 void
7 bar (void)
8 { /* { dg-error "'-mfunction-return=thunk-extern' and '-mcmodel=large' are not compatible" } */