File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,6 @@ let encoding: UInt = NSUTF8StringEncoding
17
17
let viaTypedef : Redeclaration . NSPoint = AppKit . NSPoint ( x: 0 , y: 0 )
18
18
Redeclaration . NSStringToNSString ( AppKit . NSStringToNSString ( " abc " ) ) // expected-warning {{result of call to 'NSStringToNSString' is unused}}
19
19
20
- let viaStruct : Redeclaration . FooStruct1 = AppKit . FooStruct1 ( )
20
+ /// The following error should soon be introduced by https://github.com/apple/llvm-project/pull/3497.
21
+ let viaStruct : Redeclaration . FooStruct1 = AppKit . FooStruct1 ( ) // expected-error * {{module 'AppKit' has no member named 'FooStruct1'}}
21
22
let forwardDecl : Redeclaration . Tribool = AppKit . Tribool ( ) // expected-error {{no type named 'Tribool' in module 'Redeclaration'}}
You can’t perform that action at this time.
0 commit comments