15 lines
189 B
C
15 lines
189 B
C
|
/* PR c/11420 */
|
||
|
/* { dg-do link { target fpic } } */
|
||
|
/* { dg-options "-O2 -fpic" } */
|
||
|
|
||
|
void (* volatile fn) (void);
|
||
|
static void foo (void)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
int main (void)
|
||
|
{
|
||
|
fn = foo;
|
||
|
return 0;
|
||
|
}
|