Skip to content

Commit 45d6f99

Browse files
committed
removed main() to avoid runtime check per reviewer's request
Signed-off-by: Byoungro So <[email protected]>
1 parent c93c0f8 commit 45d6f99

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sycl/test/regression/macro_conflict.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
// expected-no-diagnostics
33
//
44
//===----------------------------------------------------------------------===//
5-
// This test checks if the user-defined macros SUCCESS, FAIL, BLOCKED are
5+
// This test checks if the user-defined macros SUCCESS is
66
// conflicting with the symbols defined in SYCL header files.
7+
// This test only checks compilation errorr, so the main function is omitted.
78
//===----------------------------------------------------------------------===//
89

910
#define SUCCESS 0
1011

1112
#include <CL/sycl.hpp>
12-
13-
int main() {
14-
printf("hello world!\n");
15-
return 0;
16-
}

0 commit comments

Comments
 (0)