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 4349388 commit 6d1aaf5Copy full SHA for 6d1aaf5
sycl/test/regression/compile_on_win_with_mdd.cpp
@@ -0,0 +1,21 @@
1
+// REQUIRES: windows
2
+
3
+// RUN: %clang_cl -fsycl /MDd -c %s -o %t.obj
4
+// RUN: %clang_cl -fsycl %t.obj -o %t.out
5
+// RUN: %t.out
6
7
+// The test aims to prevent regressions similar to the one which caused by
8
+// https://github.com/intel/llvm/pull/12793.
9
+// The failure happens if perform separate compile and link, and pass /MDd to
10
+// the compile line. In that case, user application will crash during launching
11
+// with abort() message.
12
13
+#include <sycl/sycl.hpp>
14
15
+#include <iostream>
16
17
+int main() {
18
+ sycl::queue q;
19
+ std::cout << "passed" << std::endl;
20
+ return 0;
21
+}
0 commit comments