commit | 12a7634a7c8a463c47e64e5323cdcee6274e5e2e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Mar 01 03:26:22 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Mar 01 03:26:22 2009 +0000 |
tree | 507537f3819b4feaf738fec17d6df2c4888c70b5 | |
parent | ce2b4cc61b129b034dc66bb859deef03888073e2 [diff] |
testcase for mike's fix for PR3612 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65757 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/builtin-rename.c b/test/CodeGen/builtin-rename.c new file mode 100644 index 0000000..b5e4fef --- /dev/null +++ b/test/CodeGen/builtin-rename.c
@@ -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); +}