summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/builtin-rename.c
blob: 0b71d8880623776a78a848aeab77fd1e4969e4ab (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 %s -emit-llvm -o - | grep 'declare.*printf' | count 1
// PR3612

int printf(const char *, ...);

int foo(void) {
  return printf(printf);
}