blob: fcaf12e188da506953e52baba012f7a574823162 [file] [log] [blame]
Nick Lewycky0e2e1f72009-01-04 20:27:34 +00001; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
2; RUN: grep noalias %t | count 2
Nick Lewycky074827f2009-01-18 04:46:10 +00003; RUN: grep nocapture %t | count 3
Nick Lewycky0e2e1f72009-01-04 20:27:34 +00004; RUN: grep nounwind %t | count 3
5; RUN: grep readonly %t | count 1
6
7declare i8* @fopen(i8*, i8*)
8declare i8 @strlen(i8*)
Nick Lewycky074827f2009-01-18 04:46:10 +00009declare i32* @realloc(i32*, i32)
Nick Lewycky0e2e1f72009-01-04 20:27:34 +000010
11; Test deliberately wrong declaration
12declare i32 @strcpy(...)