[cfe-commits] r65757 - /cfe/trunk/test/CodeGen/builtin-rename.c

Chris Lattner sabre at nondot.org
Sat Feb 28 19:26:22 PST 2009


Author: lattner
Date: Sat Feb 28 21:26:22 2009
New Revision: 65757

URL: http://llvm.org/viewvc/llvm-project?rev=65757&view=rev
Log:
testcase for mike's fix for PR3612

Added:
    cfe/trunk/test/CodeGen/builtin-rename.c

Added: cfe/trunk/test/CodeGen/builtin-rename.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-rename.c?rev=65757&view=auto

==============================================================================
--- cfe/trunk/test/CodeGen/builtin-rename.c (added)
+++ cfe/trunk/test/CodeGen/builtin-rename.c Sat Feb 28 21:26:22 2009
@@ -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);
+}





More information about the cfe-commits mailing list