Skip to content

Commit beffd15

Browse files
committed
[clang][Interpreter] Disable part of lambda test on Windows
#143547 for details. For some reason the order of the printf output is not as expected when piped. None of the "fixes" I have are good, so only run this RUN on non-Windows. Test added by #127467.
1 parent b2584e0 commit beffd15

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/test/Interpreter/lambda.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
// REQUIRES: host-supports-jit
22
// UNSUPPORTED: system-aix
33
// RUN: cat %s | clang-repl | FileCheck %s
4-
// RUN: cat %s | clang-repl -Xcc -Xclang -Xcc -verify -Xcc -O2 | FileCheck %s
4+
// At -O2, somehow "x = 42" appears first when piped into FileCheck,
5+
// see https://github.com/llvm/llvm-project/issues/143547.
6+
// RUN: %if !system-windows %{ cat %s | clang-repl -Xcc -Xclang -Xcc -verify -Xcc -O2 | FileCheck %s %}
57

68
extern "C" int printf(const char *, ...);
79

0 commit comments

Comments
 (0)