summaryrefslogtreecommitdiff
path: root/Tests/Cuda/MixedStandardLevels2/main.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/MixedStandardLevels2/main.cu')
-rw-r--r--Tests/Cuda/MixedStandardLevels2/main.cu11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/Cuda/MixedStandardLevels2/main.cu b/Tests/Cuda/MixedStandardLevels2/main.cu
new file mode 100644
index 0000000000..a97a41ebd4
--- /dev/null
+++ b/Tests/Cuda/MixedStandardLevels2/main.cu
@@ -0,0 +1,11 @@
+
+#if __cplusplus < 201103L && !defined(_MSC_VER)
+# error "invalid standard value"
+#endif
+#include <type_traits>
+
+int main(int argc, char** argv)
+{
+ using returnv = std::integral_constant<int, 0>;
+ return returnv::value;
+}