diff options
Diffstat (limited to 'Tests/Cuda/MixedStandardLevels/main.cu')
-rw-r--r-- | Tests/Cuda/MixedStandardLevels/main.cu | 10 |
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 0000000..d57c05a --- /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; +} |