summaryrefslogtreecommitdiff
path: root/Tests/Cuda/WithC/main.c
blob: cb5fddc1fed71f92e2d3137d2bf19ef7c08b65ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern int use_cuda(void);

#ifdef _WIN32
#include <windows.h>
#endif

int main()
{
#ifdef _WIN32
  /* Use an API that requires CMake's "standard" C libraries.  */
  GetOpenFileName(NULL);
#endif
  return use_cuda();
}