summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/ConsumeCompileFeatures/static.cpp
blob: 565d52e1052ce9df2ab11fa634786507c6ba96de (plain)
1
2
3
4
5
6
7
8
9
10


#include <type_traits>

int static_cuda11_func(int);

int static_cxx11_func(int x)
{
  return static_cuda11_func(x) + std::integral_constant<int, 32>::value;
}