aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/ret-thunk-17.c
blob: 0605e2c65424f74228d1b01232e6bf6fce60329d (plain)
1
2
3
4
5
6
7
/* { dg-do compile { target { lp64 } } } */
/* { dg-options "-O2 -mfunction-return=thunk -mindirect-branch=keep -mcmodel=large" } */

void
bar (void)
{ /* { dg-error "'-mfunction-return=thunk' and '-mcmodel=large' are not compatible" } */
}