You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
325 B
24 lines
325 B
|
|
#include <iostream>
|
|
|
|
#ifdef _WIN32
|
|
# define IMPORT __declspec(dllimport)
|
|
#else
|
|
# define IMPORT
|
|
#endif
|
|
|
|
int static_hip11_func(int);
|
|
IMPORT int shared_hip11_func(int);
|
|
|
|
void test_functions()
|
|
{
|
|
static_hip11_func(int(42));
|
|
shared_hip11_func(int(42));
|
|
}
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
test_functions();
|
|
return 0;
|
|
}
|