Skip to content

Commit b05363b

Browse files
committed
[test] Mark print_clang_header_swift_name.swift as requiring ObjC.
Enums with fixed underlying type are a C++ and Objective-C feature, but are not available in C, even as a Clang extension.
1 parent 7c0c092 commit b05363b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/IDE/print_clang_header_swift_name.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %S/Inputs/print_clang_header_swift_name.h --cc-args %target-cc-options \
44
// RUN: -isysroot %clang-importer-sdk-path -fsyntax-only %t.m -I %S/Inputs | FileCheck %s
55

6+
// REQUIRES: objc_interop
7+
68
// CHECK: enum Normal : Int {
79
// CHECK-NOT: {{^}}}
810
// CHECK: case One

0 commit comments

Comments
 (0)