Skip to content

Commit 3bc056d

Browse files
authored
[clang-repl] [test] Make an XFAIL more precise (#70991)
The const.cpp testcase fails when running in MSVC mode, while it does succeed in MinGW mode. In MSVC mode, there are more constructor invocations than expected, as the printout looks like this: A(1), this = 0000025597930000 A(1), this = 0000025597930000 f: this = 0000025597930000, val = 1 A(1), this = 0000025597930000 f: this = 0000025597930000, val = 1 ~A, this = 0000025597930000, val = 1 ~A, this = 0000025597930000, val = 1 ~A, this = 0000025597930000, val = 1 While the expected printout looks like this: A(1), this = 000002C903E10000 f: this = 000002C903E10000, val = 1 f: this = 000002C903E10000, val = 1 ~A, this = 000002C903E10000, val = 1
1 parent e98195f commit 3bc056d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Interpreter/const.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// UNSUPPORTED: system-aix
22
// see https://github.com/llvm/llvm-project/issues/68092
3-
// XFAIL: system-windows
3+
// XFAIL: target={{.*}}-windows-msvc
44

55
// RUN: cat %s | clang-repl | FileCheck %s
66
// RUN: cat %s | clang-repl -Xcc -O2 | FileCheck %s

0 commit comments

Comments
 (0)