diff --git a/test/ClangImporter/overlay.swift b/test/ClangImporter/overlay.swift index 6f949d87ae74a..dad9f4f58519b 100644 --- a/test/ClangImporter/overlay.swift +++ b/test/ClangImporter/overlay.swift @@ -17,5 +17,6 @@ let encoding: UInt = NSUTF8StringEncoding let viaTypedef: Redeclaration.NSPoint = AppKit.NSPoint(x: 0, y: 0) Redeclaration.NSStringToNSString(AppKit.NSStringToNSString("abc")) // expected-warning {{result of call to 'NSStringToNSString' is unused}} -let viaStruct: Redeclaration.FooStruct1 = AppKit.FooStruct1() +/// The following error should soon be introduced by https://github.com/apple/llvm-project/pull/3497. +let viaStruct: Redeclaration.FooStruct1 = AppKit.FooStruct1() // expected-error * {{module 'AppKit' has no member named 'FooStruct1'}} let forwardDecl: Redeclaration.Tribool = AppKit.Tribool() // expected-error {{no type named 'Tribool' in module 'Redeclaration'}}