blob: 78b10b1bcd7179a40973bea41a83bf2228a79791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// main.cu
#include <iostream>
#ifdef _WIN32
# define IMPORT __declspec(dllimport)
#else
# define IMPORT
#endif
IMPORT int foo();
IMPORT int bar();
int main(int argc, char**)
{
return foo() && bar();
}
|