[libc-commits] [PATCH] D75420: [libc] Add initial assert definition

Alex Brachet via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Feb 29 23:28:13 PST 2020


abrachet marked an inline comment as done.
abrachet added inline comments.


================
Comment at: libc/test/src/assert/assert_test.cpp:16
+  // __llvm_libc::abort() unblocks SIGABRT.
+  EXPECT_DEATH([] { assert(0); }, -1);
+}
----------------
Should we close standard streams in death tests so it doesn't print to the terminal?


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

https://reviews.llvm.org/D75420





More information about the libc-commits mailing list