[all-commits] [llvm/llvm-project] 3bc056: [clang-repl] [test] Make an XFAIL more precise (#7...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Nov 2 00:52:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bc056d5f0ebe9e4074afa088c3a0355f9ab901a
      https://github.com/llvm/llvm-project/commit/3bc056d5f0ebe9e4074afa088c3a0355f9ab901a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M clang/test/Interpreter/const.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list