diff options
Diffstat (limited to 'test/Other')
-rw-r--r-- | test/Other/ResponseFile.ll | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Other/ResponseFile.ll b/test/Other/ResponseFile.ll index b8b3d0a902..914e5480f2 100644 --- a/test/Other/ResponseFile.ll +++ b/test/Other/ResponseFile.ll @@ -1,5 +1,9 @@ -; RUN: echo %s > %t.list -; RUN: llvm-as @%t.list -o %t.bc +; Test that we can recurse, at least a little bit. The -time-passes flag here +; is a hack to make sure that neither echo nor the shell expands the response +; file for us. Tokenization with quotes is tested in unittests. +; RUN: echo %s > %t.list1 +; RUN: echo "-time-passes @%t.list1" > %t.list2 +; RUN: llvm-as @%t.list2 -o %t.bc ; RUN: llvm-nm %t.bc 2>&1 | FileCheck %s ; CHECK: T foobar |