Skip to content

Commit

Permalink
[clang-repl] Relax regular expression for new const.cpp test
Browse files Browse the repository at this point in the history
This should fix the failing test on Windows:
https://lab.llvm.org/buildbot/#/builders/216/builds/28266
  • Loading branch information
hahnjo committed Oct 3, 2023
1 parent 77c43e1 commit b6ee41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/Interpreter/const.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A::~A() { printf("~A, this = %p, val = %d\n", this, val); }
void A::f() const { printf("f: this = %p, val = %d\n", this, val); }

const A a(1);
// CHECK: A(1), this = [[THIS:0x[0-9a-f]+]]
// CHECK: A(1), this = [[THIS:.+]]
// The constructor must only be called once!
// CHECK-NOT: A(1)

Expand Down

0 comments on commit b6ee41f

Please sign in to comment.