1 /* { dg-do compile { target { lp64 } } } */ 2 /* { dg-options "-O2 -mindirect-branch=keep -mfunction-return=keep -mcmodel=large" } */ 3 /* { dg-additional-options "-fPIC" { target fpic } } */ 4 5 __attribute__ ((indirect_branch("thunk"))) 6 void bar(void)7bar (void) 8 { /* { dg-error "'-mindirect-branch=thunk' and '-mcmodel=large' are not compatible" } */ 9 } 10