summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/ConsumeCompileFeatures/static.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/ConsumeCompileFeatures/static.cpp')
-rw-r--r--Tests/Cuda/ConsumeCompileFeatures/static.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Cuda/ConsumeCompileFeatures/static.cpp b/Tests/Cuda/ConsumeCompileFeatures/static.cpp
new file mode 100644
index 0000000..565d52e
--- /dev/null
+++ b/Tests/Cuda/ConsumeCompileFeatures/static.cpp
@@ -0,0 +1,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;
+}