cxx/test/diagnostics/syserr
David Majnemer fcafd80ace Linux: Correctly identify valid error codes
[syserr.errcat.objects]p4 specifies that
system_category().default_error_condition(ev) map to
error_condition(posv, generic_category()) if ev could map to a POSIX
errno.

Linux reserves up to and including 4095 for errno values, use this as a
bound.

This fixes syserr.errcat.objects/system_category.pass.cpp on Linux.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209795 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-29 05:02:22 +00:00
..
syserr.compare license change 2010-11-16 22:09:02 +00:00
syserr.errcat Linux: Correctly identify valid error codes 2014-05-29 05:02:22 +00:00
syserr.errcode license change 2010-11-16 22:09:02 +00:00
syserr.errcondition license change 2010-11-16 22:09:02 +00:00
syserr.hash license change 2010-11-16 22:09:02 +00:00
syserr.syserr license change 2010-11-16 22:09:02 +00:00
errc.pass.cpp Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati 2011-12-02 19:36:40 +00:00
version.pass.cpp license change 2010-11-16 22:09:02 +00:00