summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/EnableStandard/main.hip
blob: 7dc32e806565808d90f0a43b185d44566ba9030e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#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;
}