llvm-mirror/test/Object/archive-error-tmp.txt
Rafael Espindola 77c12b390e On error, close the temporary file descriptor.
With this change llvm-ar can remove the temporary file on windows too.

llvm-svn: 186423
2013-07-16 16:00:32 +00:00

10 lines
146 B
Plaintext

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