testcase for mike's fix for PR3612

llvm-svn: 65757
This commit is contained in:
Chris Lattner 2009-03-01 03:26:22 +00:00
parent c92d769b41
commit d3fd8fb3ac
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// RUN: clang %s -emit-llvm -o - | grep 'declare.*printf' | count 1
// PR3612
int printf(const char *, ...);
int foo(void) {
return printf(printf);
}