summaryrefslogtreecommitdiff
path: root/Tests/Cuda/MixedStandardLevels/main.cu
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Cuda/MixedStandardLevels/main.cu')
-rw-r--r--Tests/Cuda/MixedStandardLevels/main.cu10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Cuda/MixedStandardLevels/main.cu b/Tests/Cuda/MixedStandardLevels/main.cu
new file mode 100644
index 000000000..d57c05a66
--- /dev/null
+++ b/Tests/Cuda/MixedStandardLevels/main.cu
@@ -0,0 +1,10 @@
+
+#include <type_traits>
+
+int main(int argc, char** argv)
+{
+ // Verify that issue #17519 Setting CXX_STANDARD breaks CUDA_STANDARD
+ // selection via cxx_std_11 has been corrected
+ using returnv = std::integral_constant<int, 0>;
+ return returnv::value;
+}