summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/InferHipLang2/main.cxx
blob: 987b6c65161ef7198cfd6a4e95ae3e9c98d4bc24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#include <iostream>

#ifdef __HIP_PLATFORM_HCC__
#  error "__HIP_PLATFORM_HCC__ propagated to C++ compilation!"
#endif

#ifdef __HIP_ROCclr__
#  error "__HIP_ROCclr__ propagated to C++ compilation!"
#endif

int interface_hip_func(int);

int main(int argc, char** argv)
{
  interface_hip_func(int(42));

  return 0;
}