1 /// -fstrict-return is the default.
2 // RUN: %clang_cc1 -emit-llvm -fblocks -triple x86_64-apple-darwin -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -emit-llvm -fblocks -triple x86_64-apple-darwin -O -o - %s | FileCheck %s
19 int (^block)(Enum) = ^int(Enum e) {
26 // Ensure that both methods and blocks don't use the -fstrict-return undefined
27 // behaviour optimization.
29 // CHECK-NOT: call void @llvm.trap
30 // CHECK-NOT: unreachable