diff options
Diffstat (limited to 'clang/test/CodeGen/PR3589-freestanding-libcalls.c')
-rw-r--r-- | clang/test/CodeGen/PR3589-freestanding-libcalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/PR3589-freestanding-libcalls.c b/clang/test/CodeGen/PR3589-freestanding-libcalls.c index b2d22753791..14608137188 100644 --- a/clang/test/CodeGen/PR3589-freestanding-libcalls.c +++ b/clang/test/CodeGen/PR3589-freestanding-libcalls.c @@ -2,7 +2,7 @@ // RUN: clang-cc -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 1 // RUN: clang-cc -ffreestanding -O2 -emit-llvm %s -o - | grep 'declare i32 @puts' | count 0 -#include <stdio.h> +int printf(const char *, ...); void f0() { printf("hello\n"); |