OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pragma-init-fini-2.c] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Tests for #pragma init and #pragma fini.  */
2
 
3
/* { dg-do link { target *-*-solaris2.* } } */
4
/* { dg-options "-fpic" } */
5
 
6
#include <stdio.h>
7
 
8
#pragma fini (f)
9
 
10
void f() {
11
  fprintf (stderr, "f\n");
12
}
13
 
14
int main () {
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.