[PATCH] D107049: [clang-repl] Re-implement clang-interpreter as a test case.

Vassil Vassilev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 30 08:36:05 PDT 2021


v.g.vassilev added a reviewer: rnk.
v.g.vassilev added a subscriber: rnk.
v.g.vassilev added inline comments.


================
Comment at: clang/unittests/Interpreter/InterpreterTest.cpp:134
+  // Instead we expect std::terminate to be called upon thrown exception.
+  EXPECT_DEATH(Main(), "terminate called after throwing an instance of '.*'");
+  std::string CapturedStdOut = testing::internal::GetCapturedStdout();
----------------
@rnk, would that test here be fine for both win32 and win64. Sorry for asking but I do not have an easy access to a Windows machine.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107049/new/

https://reviews.llvm.org/D107049



More information about the cfe-commits mailing list