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 91b406a commit 0a02081Copy full SHA for 0a02081
test/PrintAsObjC/extensions.swift
@@ -7,6 +7,13 @@
7
// RUN: %FileCheck --check-prefix=NEGATIVE %s < %t/extensions.h
8
// RUN: %check-in-clang %t/extensions.h
9
10
+// This test generates invalid SIL. It will cause a compiler assert in
11
+// both -Onone and -O builds:
12
+// Error! Found a leaked owned value that was never consumed.
13
+// -disable-sil-ownership-verifier is a temporary workaround.
14
+// rdar://64375208 (Wrong lowering of PrintAsObjC code. Result is
15
+// unowned instead of autoreleased)
16
+
17
// REQUIRES: objc_interop
18
19
import Foundation
0 commit comments