[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / PR4827-cast.cpp
blob34a840cbdf5b9f5184f8e6f6571e57043ddce117
1 // RUN: %clang_cc1 -emit-llvm -o - %s
2 struct A;
3 struct B;
4 extern A *f();
5 void a() { (B *) f(); }