summaryrefslogtreecommitdiffstats
path: root/Tests/HIP/EnableStandard/static.cxx
blob: 29558945e3af624ca5ba902fa0701f7e0ef56ed7 (plain)
1
2
3
4
5
6
7
8
9

#include <type_traits>

using tt = std::true_type;
using ft = std::false_type;
int __host__ static_hip11_func(int x)
{
  return x * x + std::integral_constant<int, 17>::value;
}