[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / block-inalloca.cpp
bloba92813ccb921f2fb40d179a057882463972a6191
1 // RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fblocks -emit-llvm -o - %s | FileCheck %s
3 struct S {
4 S(const struct S &) {}
5 };
7 void (^b)(S) = ^(S) {};
9 // CHECK: [[DESCRIPTOR:%.*]] = getelementptr inbounds <{ ptr, %struct.S, [3 x i8] }>, ptr %0, i32 0, i32 0
10 // CHECK: load ptr, ptr [[DESCRIPTOR]]