xref: /llvm-project/clang/test/CodeGen/builtin-rename.c (revision 8fbe78f6fc7b41d1a4228c126fcb522131150518)
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep 'declare.*printf' | count 1
2 // PR3612
3 
4 int printf(const char *, ...);
5 
foo(void)6 int foo(void) {
7   return printf(printf);
8 }
9