Skip to content

Commit b34b982

Browse files
committed
[Gardening] Remove invalid RUN lines that were accidentally merged
ab5a421 added a new test case with invalid RUN lines - they were a copy paste from a different file, not intended to be committed.
1 parent 8f52c26 commit b34b982

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/PrintAsObjC/error.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
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() {}

0 commit comments

Comments
 (0)