[libc-commits] [PATCH] D156940: [libc] Use ASSERT_DEATH for EXPECT_DEATH under Fuchsia zxtest
    Alex Brachet via Phabricator via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Aug  2 14:18:38 PDT 2023
    
    
  
abrachet accepted this revision.
abrachet added a comment.
This revision is now accepted and ready to land.
I'm guessing because you called it `FUNC` that llvm-libc's unittest framework takes a callable object and not an expression like gtest.
Should we also wrap this like `[&]{ ASSERT_DEATH(FUNC, SIG); }()` so EXPECT_DEATH can be used in function with returns non void?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156940/new/
https://reviews.llvm.org/D156940
    
    
More information about the libc-commits
mailing list