Revert 72493 and replace it with a more conservative fix, for now: don't
[oota-llvm.git] / test / Transforms / SimplifyLibCalls / 2009-01-04-Annotate.ll
1 ; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
2 ; RUN: grep noalias %t | count 2
3 ; RUN: grep nocapture %t | count 3
4 ; RUN: grep nounwind %t | count 3
5 ; RUN: grep readonly %t | count 1
6
7 declare i8* @fopen(i8*, i8*)
8 declare i8 @strlen(i8*)
9 declare i32* @realloc(i32*, i32)
10
11 ; Test deliberately wrong declaration
12 declare i32 @strcpy(...)