blob: 712871ce09fcc11d6f860ef3552f97ebb17be2fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <iostream>
int static_cxx11_func(int);
void test_functions()
{
auto x = static_cxx11_func( int(42) );
std::cout << x << std::endl;
}
int main(int argc, char **argv)
{
test_functions();
std::cout << "this executable doesn't use cuda code, just call methods defined" << std::endl;
std::cout << "in libraries that have cuda code" << std::endl;
return 0;
}
|