aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commit6a60e166622437f3ee33d8737cf36a422b135b26 (patch)
tree0865aff842bec0a2e1edeb3eeeabcca58055daeb /test
parentc232a7e8feb28450f3f542ef5025197ff50ff9fc (diff)
downloadexternal_llvm-6a60e166622437f3ee33d8737cf36a422b135b26.zip
external_llvm-6a60e166622437f3ee33d8737cf36a422b135b26.tar.gz
external_llvm-6a60e166622437f3ee33d8737cf36a422b135b26.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
Diffstat (limited to 'test')
-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.