mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
13 lines
330 B
LLVM
13 lines
330 B
LLVM
; RUN: opt < %s -simplify-libcalls -S > %t
|
|
; RUN: grep noalias %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*, i32)
|
|
|
|
; Test deliberately wrong declaration
|
|
declare i32 @strcpy(...)
|