forked from OSchip/llvm-project
parent
fb4c55fb64
commit
f84814f9b4
|
@ -119,7 +119,7 @@ void __declspec(dllimport) decl2B();
|
||||||
__declspec(dllimport) void def() {} // expected-error{{dllimport cannot be applied to non-inline function definition}}
|
__declspec(dllimport) void def() {} // expected-error{{dllimport cannot be applied to non-inline function definition}}
|
||||||
|
|
||||||
// extern "C"
|
// extern "C"
|
||||||
extern "C" __declspec(dllexport) void externC();
|
extern "C" __declspec(dllimport) void externC();
|
||||||
|
|
||||||
// Import inline function.
|
// Import inline function.
|
||||||
__declspec(dllimport) inline void inlineFunc1() {}
|
__declspec(dllimport) inline void inlineFunc1() {}
|
||||||
|
|
Loading…
Reference in New Issue