mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
5e9a0031ce
Also simplify some empty output tests with 'count 0' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366324 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
351 B
Plaintext
14 lines
351 B
Plaintext
## Test the creation warning and supression of that warning.
|
|
|
|
RUN: touch %t1.txt
|
|
RUN: touch %t2.txt
|
|
|
|
RUN: rm -f %t.warning.ar
|
|
RUN: llvm-ar r %t.warning.ar %t1.txt %t2.txt 2>&1 \
|
|
RUN: | FileCheck %s -DOUTPUT=%t.warning.ar
|
|
|
|
CHECK: warning: creating [[OUTPUT]]
|
|
|
|
RUN: rm -f %t.supressed.ar
|
|
RUN: llvm-ar cr %t.supressed.ar %t1.txt %t2.txt 2>&1 | count 0
|