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