repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git]
/
test
/
Other
/
close-stderr.ll
blob
b6dc1b246a188787eed62ef126fa06c2109dc28c
1
; RUN: sh -c "\
2
; RUN: opt --reject-this-option 2>&-; echo \$?; \
3
; RUN: opt -o /dev/null /dev/null 2>&-; echo \$?; \
4
; RUN: " | FileCheck %s
5
; CHECK: {{^1$}}
6
; CHECK: {{^0$}}
7
; XFAIL: vg_leak
8
9
; Test that the error handling when writing to stderr fails exits the
10
; program cleanly rather than aborting.