13 lines · plain
1RUN: ld.lld -### foo.o -m i386pep 2>&1 | FileCheck -check-prefix=DEFAULT %s2DEFAULT-NOT: -errorlimit:3DEFAULT-NOT: /errorlimit:4 5RUN: ld.lld -### foo.o -m i386pep --error-limit=5 2>&1 | FileCheck -check-prefix=NUMERIC %s6NUMERIC: -errorlimit:57 8RUN: ld.lld -### foo.o -m i386pep --error-limit=0 2>&1 | FileCheck -check-prefix=UNLIMITED %s9UNLIMITED: -errorlimit:010 11RUN: not ld.lld -### foo.o -m i386pep --error-limit=XYZ 2>&1 | FileCheck -check-prefix=WRONG %s12WRONG: --error-limit: number expected, but got XYZ13