diff options
Diffstat (limited to 'test/Object/directory.ll')
-rw-r--r-- | test/Object/directory.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Object/directory.ll b/test/Object/directory.ll new file mode 100644 index 0000000000..336d218fd0 --- /dev/null +++ b/test/Object/directory.ll @@ -0,0 +1,12 @@ +;RUN: not llvm-ar r %T/test.a . 2>&1 | FileCheck %s +;CHECK: . Is a directory + +;RUN: rm -f %T/test.a +;RUN: touch %T/a-very-long-file-name +;RUN: llvm-ar r %T/test.a %s %T/a-very-long-file-name +;RUN: llvm-ar r %T/test.a %T/a-very-long-file-name +;RUN: llvm-ar t %T/test.a | sort | FileCheck -check-prefix=MEMBERS %s +;MEMBERS-NOT: / +;MEMBERS: a-very-long-file-name +;MEMBERS: directory.ll +;MEMBERS-NOT: a-very-long-file-name |