Skip to content

Commit 0103fb4

Browse files
committed
Update ImportAsMember test not to use unprototyped function.
We now reject this in Clang.
1 parent 4b232fa commit 0103fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IDE/Inputs/custom-modules/ImportAsMember.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern double IAMStruct1GlobalVar
1111
extern struct IAMStruct1 IAMStruct1CreateSimple(double value)
1212
__attribute__((swift_name("Struct1.init(value:)")));
1313

14-
extern struct IAMStruct1 IAMStruct1CreateSpecialLabel()
14+
extern struct IAMStruct1 IAMStruct1CreateSpecialLabel(void)
1515
__attribute__((swift_name("Struct1.init(specialLabel:)")));
1616

1717
extern struct IAMStruct1 IAMStruct1Invert(struct IAMStruct1 s)

0 commit comments

Comments
 (0)