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

#ifdef _WIN32
#  define IMPORT __declspec(dllimport)
IMPORT int shared_version();
int static_version()
{
  return 0;
}
int mixed_version()
{
  return 0;
}
#else
int shared_version();
int static_version();
int mixed_version();
#endif

int main()
{
  return mixed_version() == 0 && shared_version() == 0 &&
    static_version() == 0;
}