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