llvm-for-llvmta/tools/clang/test/CodeGen/builtin-rename.c

9 lines
159 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm -o - | grep 'declare.*printf' | count 1
// PR3612
int printf(const char *, ...);
int foo(void) {
return printf(printf);
}