summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/ConsumeCompileFeatures/main.cu
blob: bc3245013cb28273338e658f9adc06644154a302 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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