blob: 90b5fff1620f0d0c13654b5f71c421c7ef69d3b4 [file] [log] [blame]
// RUN: clang-cc -emit-llvm %s -o - | grep 'declare i32 @printf' | count 1 &&
// 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>
void f0() {
printf("hello\n");
}