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 a6b4db8 commit 6cd55b2Copy full SHA for 6cd55b2
examples/intro-5-consumer.cpp
@@ -1,6 +1,7 @@
1
// examples/intro-1-hello-world.cpp -*-C++-*-
2
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3
4
+#ifndef __clang__
5
#include <beman/execution/execution.hpp>
6
#include <beman/execution/detail/suppress_push.hpp>
7
#include <expected>
@@ -92,3 +93,7 @@ int main() {
92
93
ex::then([](success) noexcept { std::cout << "success\n"; }) |
94
ex::upon_error([](failure) noexcept { std::cout << "fail\n"; }));
95
}
96
+#else
97
+int main() {
98
+}
99
+#endif
0 commit comments