Forgot this in the previous checkin: fopen now has nocapture, realloc is
authorNick Lewycky <nicholas@mxc.ca>
Sun, 18 Jan 2009 04:46:10 +0000 (04:46 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 18 Jan 2009 04:46:10 +0000 (04:46 +0000)
supposed to take two arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62457 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SimplifyLibCalls/2009-01-04-Annotate.ll

index ac2c89dd7f794f4d0620e16933541ffd8df56082..fcaf12e188da506953e52baba012f7a574823162 100644 (file)
@@ -1,12 +1,12 @@
 ; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis > %t
 ; RUN: grep noalias %t | count 2
-; RUN: grep nocapture %t | count 2
+; RUN: grep nocapture %t | count 3
 ; RUN: grep nounwind %t | count 3
 ; RUN: grep readonly %t | count 1
 
 declare i8* @fopen(i8*, i8*)
 declare i8 @strlen(i8*)
-declare i32* @realloc(i32*)
+declare i32* @realloc(i32*, i32)
 
 ; Test deliberately wrong declaration
 declare i32 @strcpy(...)