Skip to content

Commit 907b3a9

Browse files
committed
[interop][SwiftToCxx] NFC, test remove unused warning flag
1 parent f89f64a commit 907b3a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Interop/SwiftToCxx/generics/generic-struct-in-cxx.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-frontend %s -typecheck -module-name Generics -clang-header-expose-public-decls -emit-clang-header-path %t/generics.h
33
// RUN: %FileCheck %s < %t/generics.h
4-
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h -Wno-unused-function)
4+
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h)
55

66
// Check that an instantiation compiles too.
77
// RUN: echo "constexpr int x = sizeof(Generics::GenericPair<int, int>);" >> %t/generics.h
8-
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h -Wno-unused-function)
8+
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h)
99

1010
// RUN: %empty-directory(%t)
1111
// RUN: %target-swift-frontend %s -enable-library-evolution -typecheck -module-name Generics -clang-header-expose-public-decls -emit-clang-header-path %t/generics.h
1212
// RUN: %FileCheck %s < %t/generics.h
13-
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h -Wno-unused-function)
13+
// RUN: %check-generic-interop-cxx-header-in-clang(%t/generics.h)
1414

1515
@frozen
1616
public struct GenericPair<T, T2> {

0 commit comments

Comments
 (0)