File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/Interop/SwiftToCxx/generics Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-swift-frontend %s -typecheck -module-name Generics -clang-header-expose-public-decls -emit-clang-header-path %t/generics.h
3
3
// 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)
5
5
6
6
// Check that an instantiation compiles too.
7
7
// 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)
9
9
10
10
// RUN: %empty-directory(%t)
11
11
// RUN: %target-swift-frontend %s -enable-library-evolution -typecheck -module-name Generics -clang-header-expose-public-decls -emit-clang-header-path %t/generics.h
12
12
// 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)
14
14
15
15
@frozen
16
16
public struct GenericPair < T, T2> {
You can’t perform that action at this time.
0 commit comments