Add a testcase for raw_ostream error checking.
authorDan Gohman <gohman@apple.com>
Wed, 15 Jul 2009 16:47:02 +0000 (16:47 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 15 Jul 2009 16:47:02 +0000 (16:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75795 91177308-0d34-0410-b5e6-96231b3b80d8

test/Assembler/dev-full.ll [new file with mode: 0644]

diff --git a/test/Assembler/dev-full.ll b/test/Assembler/dev-full.ll
new file mode 100644 (file)
index 0000000..6f600f9
--- /dev/null
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s > /dev/full 2>/dev/null
+
+; raw_ostream should detect write errors.