Skip to content

Commit 39f392c

Browse files
committed
Add regression test for https://bugs.swift.org/browse/SR-4211
1 parent d6346f4 commit 39f392c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// RUN: %target-build-swift -emit-module %s
2+
3+
// REQUIRES: objc_interop
4+
import Foundation
5+
6+
/// Set of notifications that can be sent by this manager
7+
extension Notification.Name {
8+
/// Notifications that can be posted by the BLE code.
9+
class BLE {
10+
/// A notification posted when a new device has been discovered while scanning.
11+
static var discoveredDevice = Notification.Name("my_unique_notification name")
12+
}
13+
}

0 commit comments

Comments
 (0)