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.
2 parents d026b10 + 3e2e81d commit 9ed658bCopy full SHA for 9ed658b
validation-test/compiler_crashers_2_fixed/0180-rdar45557325.swift
@@ -0,0 +1,11 @@
1
+// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -typecheck -verify
2
+
3
+// REQUIRES: objc_interop
4
5
+import Foundation
6
7
+class MyClass: NSObject {
8
+ func f() {
9
+ let url = URL(url) // expected-error{{variable used within its own initial value}}
10
+ }
11
+}
0 commit comments