We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 785b182 commit 785f79aCopy full SHA for 785f79a
test/ClangImporter/blocks_returning_bool.swift
@@ -1,5 +1,9 @@
1
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-silgen %s -I %S/Inputs/ | %FileCheck %s
2
3
+// Check that bridging an @convention(c)'s function's @convention(block)
4
+// parameter to a Swift function type doesn't crash the compiler.
5
+// RUN: not --crash %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-silgen %s -I %S/Inputs/ -o /dev/null -use-clang-function-types -experimental-print-full-convention
6
+
7
// REQUIRES: objc_interop
8
9
import Foundation
0 commit comments