You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
338 B
12 lines
338 B
// RUN: %clang_cc1 -triple i686-unknown-windows-msvc -fblocks -emit-llvm -o - %s | FileCheck %s
|
|
|
|
struct S {
|
|
S(const struct S &) {}
|
|
};
|
|
|
|
void (^b)(S) = ^(S) {};
|
|
|
|
// CHECK: [[DESCRIPTOR:%.*]] = getelementptr inbounds <{ i8*, %struct.S, [3 x i8] }>, <{ i8*, %struct.S, [3 x i8] }>* %0, i32 0, i32 0
|
|
// CHECK: load i8*, i8** [[DESCRIPTOR]]
|
|
|