repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[llvm-exegesis] Fix missing std::move.
[llvm-complete.git]
/
utils
/
lit
/
tests
/
Inputs
/
shtest-format
/
external_shell
/
write-bad-encoding.py
blob
a5a2bc9da8af7e4820e2f7a520b539c7d80c17df
1
#!/usr/bin/env python
2
3
import
sys
4
5
getattr
(
sys
.
stdout
,
"buffer"
,
sys
.
stdout
).
write
(
b
"a line with bad encoding:
\xc2
."
)
6
sys
.
stdout
.
flush
()