Skip to content

Commit 4f3f68e

Browse files
authored
Amend test to actually fail due to SR-13032 (swiftlang#35038)
1 parent 09f609a commit 4f3f68e

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
module ForeignA {
2-
// Nest the header in a sub-module to make sure these are handled correctly.
3-
module Sub {
4-
header "foreign-a.h"
5-
}
2+
header "foreign-a.h"
63
}
74

85
module ForeignB {
9-
// Nest the header in a sub-module to make sure these are handled correctly.
10-
module Sub {
11-
header "foreign-b.h"
12-
}
6+
header "foreign-b.h"
137
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
typedef struct {} ForeignStruct;
1+
struct ForeignStruct {};

test/Interop/C/modules/print-qualified-clang-types/print-qualified-clang-types.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@
3434
// RUN: %target-swift-frontend -typecheck -swift-version 5 %t/main_module/MainModule.swiftinterface -I %t/helper_module -I %S/Inputs
3535

3636
// CHECK: public func funcTakingForeignStruct(_ param: ForeignB.ForeignStruct)
37+
38+
// REQUIRES: SR-13032

0 commit comments

Comments
 (0)