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 a41b33c commit 28aa051Copy full SHA for 28aa051
sycl/test/basic_tests/no_iostream.cpp
@@ -1,6 +1,7 @@
1
// RUN: %clangxx -fsycl %s -S -emit-llvm -o- | FileCheck %s
2
-// CHECK-NOT: {{^@}}
+// CHECK-NOT: {{^@llvm.global_ctors}}
3
//
4
-// Tests if <sycl/sycl.hpp> headers include any <iostream> headers
+// Tests if inclusion <sycl/sycl.hpp> causes execution of global ctors
5
+// and related performance hit.
6
7
#include <sycl/sycl.hpp>
sycl/test/regression/fsycl-host-compiler-win.cpp
@@ -14,6 +14,10 @@
14
15
16
17
+// FIXME: Modify <sycl/details/iostream_proxy.hpp> so that it would require
18
+// proper libs via "#pragma comment(lib, ...)".
19
+#include <iostream>
20
+
21
#ifndef DEFINE_CHECK
22
#error predefined macro not set
23
#endif // DEFINE_CHECK
0 commit comments