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 856fec7 commit e2c6e8eCopy full SHA for e2c6e8e
test/Parse/closure-debugger.swift
@@ -0,0 +1,6 @@
1
+// RUN: not %target-swift-frontend %s -typecheck -debugger-support 2>&1 | %FileCheck %s --check-prefix=DEBUG
2
+// RUN: not %target-swift-frontend %s -typecheck 2>&1 | %FileCheck %s --check-prefix=NODEBUG
3
+
4
+// DEBUG: error: use of unresolved identifier '$0'
5
+// NODEBUG: error: anonymous closure argument not contained in a closure
6
+$0
0 commit comments