llvm.org GIT mirror llvm / e794e41
Quote potential shell expansions found in tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193558 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 5 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-extract -func foo -S < %s | FileCheck %s
11 ; RUN: llvm-extract -delete -func foo -S < %s | FileCheck --check-prefix=DELETE %s
22 ; RUN: llvm-extract -alias zeda0 -S < %s | FileCheck --check-prefix=ALIAS %s
3 ; RUN: llvm-extract -ralias .*bar -S < %s | FileCheck --check-prefix=ALIASRE %s
3 ; RUN: llvm-extract -ralias '.*bar' -S < %s | FileCheck --check-prefix=ALIASRE %s
44
55 ; Both aliases should be converted to declarations
66 ; CHECK: @zeda0 = external global i32
33
44 ; RUN: opt < %s -globalopt -S > %t
55 ; Check that the new global values still have their address space
6 ; RUN: cat %t | grep addrspace.*global
6 ; RUN: cat %t | grep 'addrspace.*global'
77
88 @struct = internal addrspace(1) global { i32, i32 } zeroinitializer
99 @array = internal addrspace(1) global [ 2 x i32 ] zeroinitializer