File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11// RUN: %empty-directory(%t)
2- // RdsagUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -typecheck -emit-objc-header-path %t/error.h
3- // RUadsgN: %FileCheck %s < %t/error.h
4-
52// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-module-path %t/error.swiftmodule -emit-objc-header-path %t/error.h -experimental-allow-module-with-compiler-errors %s
63// RUN: %FileCheck %s < %t/error.h
74// RUN: %check-in-clang %t/error.h
@@ -48,8 +45,8 @@ import Foundation
4845 @objc @undefined func invalidAttribute( ) { }
4946 // CHECK: - (void)invalidAttribute;
5047
51- @objc undefined func invalidModifier( ) { }
52- // TODO: Not output with invalid modifier
48+ @objc someundefinedmodifier func invalidModifier( ) { }
49+ // TODO: someundefinedmodifier treated as a function, so invalidModifier not seen as @objc
5350
5451 @objc @available
5552 func invalidAvailability( ) { }
You can’t perform that action at this time.
0 commit comments