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 1
1
// 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
-
5
2
// 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
6
3
// RUN: %FileCheck %s < %t/error.h
7
4
// RUN: %check-in-clang %t/error.h
@@ -48,8 +45,8 @@ import Foundation
48
45
@objc @undefined func invalidAttribute( ) { }
49
46
// CHECK: - (void)invalidAttribute;
50
47
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
53
50
54
51
@objc @available
55
52
func invalidAvailability( ) { }
You can’t perform that action at this time.
0 commit comments