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 4868065 commit 7594952Copy full SHA for 7594952
sycl/test/basic_tests/assert_header_with_c_linkage.cpp
@@ -1,18 +1,13 @@
1
-// RUN: %clangxx -fsycl -DASSERT -fsyntax-only %s
2
-// RUN: %clangxx -fsycl -DCASSERT -fsyntax-only %s
+// RUN: %clangxx -fsycl -fsyntax-only %s
3
4
-// Verify that compilation works when assert.h/cassert is wrapped by a C linkage
+// Verify that compilation works when assert.h is wrapped by a C linkage
5
// specification.
6
7
#ifdef __cplusplus
8
extern "C" {
9
#endif
10
11
-#if defined(ASSERT)
12
#include <assert.h>
13
-#elif defined(CASSERT)
14
-#include <cassert>
15
-#endif
16
17
18
}
0 commit comments