[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / incomplete-member-function-pointer.cpp
blobb97e44c9172d832ed295283fb0aeed176d1f4eeb
1 // RUN: %clang_cc1 %s -emit-llvm-only
2 // PR7040
3 struct fake_tuple;
4 struct connection {
5 void bar(fake_tuple);
6 };
7 void (connection::*a)(fake_tuple) = &connection::bar;
8 void f() {
9 void (connection::*b)(fake_tuple) = &connection::bar;