Debian Codegraph @

Tests/Cuda/StaticRuntimePlusToolkit/main.cpp

raw
1
2 #ifdef _WIN32
3 # define IMPORT __declspec(dllimport)
4 #else
5 # define IMPORT
6 #endif
7
8 IMPORT int shared_version();
9
10 #ifdef HAS_STATIC_VERSION
11 IMPORT int static_version();
12 #else
13 int static_version()
14 {
15 return 0;
16 }
17 #endif
18
19 #ifdef HAS_MIXED_VERSION
20 IMPORT int mixed_version();
21 #else
22 int mixed_version()
23 {
24 return 0;
25 }
26 #endif
27
28 int main()
29 {
30 return mixed_version() == 0 && shared_version() == 0 &&
31 static_version() == 0;
32 }