blob: 91bc622a20c550e2b1bb8b24e8925ca9566559ed [file] [log] [blame]
/* Tests for #pragma init and #pragma fini. */
/* { dg-do link { target *-*-solaris2.* } } */
/* { dg-options "-fpic" } */
#include <stdio.h>
#pragma fini (f)
void f() {
fprintf (stderr, "f\n");
}
int main () {
}