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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [global_vars_c_init_driver.c] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
int i = 2;
2
void test_globals(void);
3
 
4
extern void abort(void);
5
 
6
int main(int argc, char **argv)
7
{
8
   /* verify that i has been initialized by f90 */
9
   if(i != 2)
10
      abort();
11
   test_globals();
12
   return 0;
13
}/* end main() */

powered by: WebSVN 2.1.0

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