Home | History | Annotate | Download | only in Other
      1 ; Test that we can recurse, at least a little bit.  The -time-passes flag here
      2 ; is a hack to make sure that neither echo nor the shell expands the response
      3 ; file for us.  Tokenization with quotes is tested in unittests.
      4 ; RUN: echo %s > %t.list1
      5 ; RUN: echo "-time-passes @%t.list1" > %t.list2
      6 ; RUN: llvm-as @%t.list2 -o %t.bc
      7 ; RUN: llvm-nm %t.bc 2>&1 | FileCheck %s
      8 
      9 ; When the response file begins with UTF8 BOM sequence, we shall remove them.
     10 ; Neither command below should return a "Could not open input file" error.
     11 ; RUN: llvm-as @%S/Inputs/utf8-response > /dev/null
     12 ; RUN: llvm-as @%S/Inputs/utf8-bom-response > /dev/null
     13 
     14 ; CHECK: T foobar
     15 
     16 define void @foobar() {
     17   ret void
     18 }
     19