Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / gpl3 / binutils / dist / ld / testsuite / ld-auto-import / dll.c
blobccf85e4f5779af96ea2a97e460c9c8e6be9ca225
1 int var = 123;
2 int foo = 121;
4 int var2[2]= { 123, 456 };
6 #include <stdio.h>
8 void
9 print_var (void)
11 printf ("DLL sees var = %d\n", var);
14 void
15 print_foo (void)
17 printf ("DLL sees foo = %d\n", foo);
20 void (* func_ptr)(void) = print_foo;