We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6388c6 commit 3e80979Copy full SHA for 3e80979
sycl/test/basic_tests/assert_header_with_c_linkage.cpp
@@ -0,0 +1,14 @@
1
+// RUN: %clangxx -fsycl -c %s
2
+
3
+// Verify that compilation works when assert.h is wrapped by a C linkage
4
+// specification.
5
6
+#ifdef __cplusplus
7
+extern "C" {
8
+#endif
9
10
+#include <assert.h>
11
12
13
+}
14
sycl/test/basic_tests/cassert_header_with_c_linkage.cpp
+// Verify that compilation works when cassert is wrapped by a C linkage
+#include <cassert>
0 commit comments