revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / Analysis / Andersens / 2008-12-27-BuiltinWrongType.ll
blobda6751139f2eaad4f91f1c7426ed9cd926cfcd20
1 ; RUN: opt < %s -anders-aa
2 ; PR3262
4 @.str15 = external global [3 x i8]              ; <[3 x i8]*> [#uses=1]
6 declare i8* @strtok(...)
7 declare i8* @memmove(...)
9 define void @test1(i8* %want1) nounwind {
10 entry:
11         %0 = call i8* (...)* @strtok(i32 0, i8* getelementptr ([3 x i8]* @.str15, i32 0, i32 0)) nounwind               ; <i8*> [#uses=0]
12         unreachable
15 define void @test2() nounwind {
16 entry:
17         %0 = call i8* (...)* @memmove()
18         unreachable