./:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / dll.c
blob7f7bfcee55c6a030626d014fe3e00a4b7f074f65
1 /* { dg-require-dll "" } */
3 __declspec (dllimport) int foo;
4 extern int (* import) (void) __attribute__((dllimport));
5 int func2 (void) __attribute__((dllexport));
7 __declspec(dllexport) int
8 func1 (int a)
10 return a + foo;
13 static int
14 internal (void)
16 return 77;
19 int
20 func2 (void)
22 return import ();