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 1c65a55 commit 8e95096Copy full SHA for 8e95096
validation-test/Sema/SwiftUI/rdar70880670.swift
@@ -0,0 +1,15 @@
1
+// RUN: %target-typecheck-verify-swift -target x86_64-apple-macosx10.15 -swift-version 5
2
+// REQUIRES: objc_interop
3
+// REQUIRES: OS=macosx
4
+
5
+import SwiftUI
6
7
+var foo = doesntExist // expected-error {{cannot find 'doesntExist' in scope}}
8
9
+struct ContentView: View {
10
+ var body: some View {
11
+ VStack {
12
+ Text(verbatim: foo)
13
+ }
14
15
+}
0 commit comments