blob: b2ad9f51bac10c027304136a5773f4d3f032e058 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Build don't link:
// Skip if not target: arm-*pe
// dllimport is "sorta like" to "extern".
// set compiler_result "(\nfoo1:.*\nfoo2:|\nfoo2:.*\nfoo1:)"
// set not_compiler_result "__imp_"
__declspec (dllimport) int foo1;
int foo1;
__declspec (dllimport) int foo2;
int foo2 = 5;
int f () { return foo1 + foo2; }
|