mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
20 lines
420 B
LLVM
20 lines
420 B
LLVM
; RUN: opt < %s -globalopt -S > %t
|
|
; RUN: cat %t | grep foo1 | count 1
|
|
; RUN: cat %t | grep foo2 | count 4
|
|
; RUN: cat %t | grep bar1 | count 1
|
|
; RUN: cat %t | grep bar2 | count 4
|
|
|
|
@foo1 = alias void ()* @foo2
|
|
@foo2 = alias weak void()* @bar1
|
|
@bar1 = alias void ()* @bar2
|
|
|
|
declare void @bar2()
|
|
|
|
define void @baz() {
|
|
entry:
|
|
call void @foo1()
|
|
call void @foo2()
|
|
call void @bar1()
|
|
ret void
|
|
}
|