summaryrefslogtreecommitdiff
path: root/Tests/Cuda/ObjectLibrary/main.cpp
blob: 1a70a996387b5358e0b141023730df5cfc0a22d4 (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_func(int);
int file1_sq_func(int);

void test_functions()
{
  file1_sq_func(static_func(42));
}

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 object files that have cuda code" << std::endl;
  return 0;
}