10 lines
353 B
C
10 lines
353 B
C
/* { dg-do compile { target { lp64 } } } */
|
|
/* { dg-options "-O2 -mindirect-branch=keep -mfunction-return=keep -mcmodel=large" } */
|
|
/* { dg-additional-options "-fPIC" { target fpic } } */
|
|
|
|
__attribute__ ((indirect_branch("thunk-extern")))
|
|
void
|
|
bar (void)
|
|
{ /* { dg-error "'-mindirect-branch=thunk-extern' and '-mcmodel=large' are not compatible" } */
|
|
}
|