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