Skip to content

Commit e59069f

Browse files
committed
Add a couple of crashers that are now fixed
1 parent fbb97b9 commit e59069f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// RUN: not %target-swift-frontend -typecheck %s
2+
3+
func addProperties(b: Int) {
4+
guard true else {
5+
_ = "`\(b)`."
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// RUN: not %target-swift-frontend -typecheck %s
2+
3+
public final class Foo {
4+
public var a: String {
5+
return "\(backgroundContext)"

0 commit comments

Comments
 (0)