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 c93c0f8 commit 45d6f99Copy full SHA for 45d6f99
sycl/test/regression/macro_conflict.cpp
@@ -2,15 +2,11 @@
2
// expected-no-diagnostics
3
//
4
//===----------------------------------------------------------------------===//
5
-// This test checks if the user-defined macros SUCCESS, FAIL, BLOCKED are
+// This test checks if the user-defined macros SUCCESS is
6
// conflicting with the symbols defined in SYCL header files.
7
+// This test only checks compilation errorr, so the main function is omitted.
8
9
10
#define SUCCESS 0
11
12
#include <CL/sycl.hpp>
-
13
-int main() {
14
- printf("hello world!\n");
15
- return 0;
16
-}
0 commit comments