diff options
Diffstat (limited to 'Tests/HIP/EnableStandard/static.cxx')
-rw-r--r-- | Tests/HIP/EnableStandard/static.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/HIP/EnableStandard/static.cxx b/Tests/HIP/EnableStandard/static.cxx new file mode 100644 index 0000000..2955894 --- /dev/null +++ b/Tests/HIP/EnableStandard/static.cxx @@ -0,0 +1,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; +} |