brintos

brintos / llvm-project-archived public Read only

0
0
Text · 553 B · 4d2f88c Raw
17 lines · plain
1# REQUIRES: x86 && thread_support2# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o3 4## A non-negative integer is allowed.5# RUN: %lld --read-workers=0 %t.o -o /dev/null6# RUN: %lld --read-workers=1 %t.o -o /dev/null7# RUN: %lld --read-workers=2 %t.o -o /dev/null8 9# RUN: not %lld --read-workers=all %t.o -o /dev/null 2>&1 | FileCheck %s -DN=all10# RUN: not %lld --read-workers=-1 %t.o -o /dev/null 2>&1 | FileCheck %s -DN=-111 12# CHECK: error: --read-workers=: expected a non-negative integer, but got '[[N]]'13 14.globl _main15_main:16  ret17