aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-15 16:47:02 +0000
committerDan Gohman <gohman@apple.com>2009-07-15 16:47:02 +0000
commitbabe50c205003864f5d0081dbc635e0831d73ce8 (patch)
tree0865aff842bec0a2e1edeb3eeeabcca58055daeb
parent753e6258b88d2053d21d0c95bd67e0d1ae801d0e (diff)
downloadexternal_llvm-babe50c205003864f5d0081dbc635e0831d73ce8.zip
external_llvm-babe50c205003864f5d0081dbc635e0831d73ce8.tar.gz
external_llvm-babe50c205003864f5d0081dbc635e0831d73ce8.tar.bz2
Add a testcase for raw_ostream error checking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75795 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Assembler/dev-full.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/dev-full.ll b/test/Assembler/dev-full.ll
new file mode 100644
index 0000000..6f600f9
--- /dev/null
+++ b/test/Assembler/dev-full.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s > /dev/full 2>/dev/null
+
+; raw_ostream should detect write errors.