summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/preprocessor/test/clang_cuda.cu
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/preprocessor/test/clang_cuda.cu')
-rw-r--r--src/boost/libs/preprocessor/test/clang_cuda.cu26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/boost/libs/preprocessor/test/clang_cuda.cu b/src/boost/libs/preprocessor/test/clang_cuda.cu
new file mode 100644
index 00000000..e13d6563
--- /dev/null
+++ b/src/boost/libs/preprocessor/test/clang_cuda.cu
@@ -0,0 +1,26 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2019.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# include <libs/preprocessor/test/test_macro.h>
+
+#if defined(__clang__) && defined(__CUDACC__) && defined(__CUDA__)
+
+BEGIN BOOST_PP_VARIADICS == 1 END
+
+#else
+
+BEGIN 0 == 1 END
+
+#endif
+
+int main(void) {
+ return 0;
+}