diff options
Diffstat (limited to 'test/Object/archive-error-tmp.txt')
-rw-r--r-- | test/Object/archive-error-tmp.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Object/archive-error-tmp.txt b/test/Object/archive-error-tmp.txt new file mode 100644 index 0000000000..061898655b --- /dev/null +++ b/test/Object/archive-error-tmp.txt @@ -0,0 +1,9 @@ +REQUIRES: shell + +Test that no temporary file is left behind on error. + +RUN: rm -rf %t +RUN: mkdir %t +RUN: not llvm-ar rc %t/foo.a . +RUN: rmdir %t + |