mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Update testcase for recent aliases change
llvm-svn: 48250
This commit is contained in:
parent
aa1433ab47
commit
efa9405b94
@ -1,8 +1,10 @@
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -mtriple=i686-pc-linux-gnu -o %t -f
|
||||
; RUN: grep set %t | count 5
|
||||
; RUN: grep globl %t | count 4
|
||||
; RUN: grep set %t | count 7
|
||||
; RUN: grep globl %t | count 6
|
||||
; RUN: grep weak %t | count 1
|
||||
; RUN: grep hidden %t | count 1
|
||||
; RUN: grep protected %t | count 1
|
||||
|
||||
@bar = external global i32
|
||||
@foo1 = alias i32* @bar
|
||||
@ -17,6 +19,10 @@ declare i32 @foo_f()
|
||||
|
||||
@A = alias bitcast (i32* @bar to i64*)
|
||||
|
||||
@bar_h = hidden alias i32* @bar
|
||||
|
||||
@bar_p = protected alias i32* @bar
|
||||
|
||||
define i32 @test() {
|
||||
entry:
|
||||
%tmp = load i32* @foo1
|
||||
|
Loading…
x
Reference in New Issue
Block a user