[PATCH] D56136: [compiler-rt] [sanitizer_common] Add tests for more stdio.h functions

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 29 04:30:12 PST 2018


krytarowski added inline comments.


================
Comment at: test/sanitizer_common/TestCases/Posix/feof_fileno_ferror.cc:38
+
+  fclose(fp);
+  return 0;
----------------
krytarowski wrote:
> `assert(!fclose(fp));`
alternatively `!= EOF`


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

https://reviews.llvm.org/D56136





More information about the cfe-commits mailing list