[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / 2007-04-14-FNoBuiltin.cpp
blob4475fda95c08d807bd16eb63c8d0033c0aa31763
1 // RUN: %clang_cc1 -emit-llvm %s -fno-builtin -o - | FileCheck %s
2 // Check that -fno-builtin is honored.
4 extern "C" int printf(const char*, ...);
5 void foo(const char *msg) {
6 // CHECK: call{{.*}}printf
7 printf("%s\n",msg);