mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 04:51:23 +00:00
103b8238dc
Summary: NetBSD shell sh(1) does not support ">& /dev/null" construct. This is bashism. The portable and POSIX solution is to use: "> /dev/null 2>&1". This change fixes 22 Unexpected Failures on NetBSD/amd64 for the "check-llvm" target. Sponsored by <The NetBSD Foundation> Reviewers: joerg, dim, rnk Reviewed By: joerg, rnk Subscribers: rnk, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D35277 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307789 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
169 B
LLVM
11 lines
169 B
LLVM
; RUN: not llvm-as < %s > /dev/null 2>&1
|
|
|
|
declare void @foo(i8*)
|
|
|
|
define void @bar() {
|
|
invoke void @foo(i8* signext null)
|
|
to label %r unwind label %r
|
|
r:
|
|
ret void
|
|
}
|