mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
473 B
LLVM
20 lines
473 B
LLVM
; RUN: opt < %s -anders-aa
|
|
; PR3262
|
|
|
|
@.str15 = external global [3 x i8] ; <[3 x i8]*> [#uses=1]
|
|
|
|
declare i8* @strtok(...)
|
|
declare i8* @memmove(...)
|
|
|
|
define void @test1(i8* %want1) nounwind {
|
|
entry:
|
|
%0 = call i8* (...)* @strtok(i32 0, i8* getelementptr ([3 x i8]* @.str15, i32 0, i32 0)) nounwind ; <i8*> [#uses=0]
|
|
unreachable
|
|
}
|
|
|
|
define void @test2() nounwind {
|
|
entry:
|
|
%0 = call i8* (...)* @memmove()
|
|
unreachable
|
|
}
|