[flang][MLIR] Support delayed privatization for `wsloop` (PFT -> MLIR) (#118271)
[llvm-project.git] / clang / test / CodeGenCXX / block-inalloca.cpp
blob4e84b658db780404ad39881f96d3d78643ed4ce2
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 nuw <{ ptr, %struct.S, [3 x i8] }>, ptr %0, i32 0, i32 0
10 // CHECK: load ptr, ptr [[DESCRIPTOR]]