1
2#include <iostream>
3
4#ifdef _WIN32
5#  define IMPORT __declspec(dllimport)
6#else
7#  define IMPORT
8#endif
9
10int static_hip11_func(int);
11IMPORT int shared_hip11_func(int);
12
13void test_functions()
14{
15  static_hip11_func(int(42));
16  shared_hip11_func(int(42));
17}
18
19int main(int argc, char** argv)
20{
21  test_functions();
22  return 0;
23}
24