12 lines · cpp
1// RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fblocks -emit-llvm -o - %s | FileCheck %s2 3struct S {4 S(const struct S &) {}5};6 7void (^b)(S) = ^(S) {};8 9// CHECK: [[DESCRIPTOR:%.*]] = getelementptr inbounds nuw <{ ptr, %struct.S, [3 x i8] }>, ptr %0, i32 0, i32 010// CHECK: load ptr, ptr [[DESCRIPTOR]]11 12