2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / ret-thunk-18.c
blob307019dc24241d49eb73cf356c32822125d9b8ca
1 /* { dg-do compile { target { lp64 } } } */
2 /* { dg-options "-O2 -mfunction-return=thunk-extern -mindirect-branch=keep -mcmodel=large" } */
3 /* { dg-additional-options "-fPIC" { target fpic } } */
5 void
6 bar (void)
7 { /* { dg-error "'-mfunction-return=thunk-extern' and '-mcmodel=large' are not compatible" } */