Skip to content

Commit 0a69740

Browse files
committed
[test] update SwiftToCxx unsigned-return-type-no-zext.cpp test to
work on Amazon Linux Zeroext is optional
1 parent e22fc3e commit 0a69740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ void test(void *p) {
1313
getEnumTagi32(p);
1414
}
1515

16-
// CHECK: declare noundef zeroext i8 @_Z12getEnumTagi8Pv(i8* noundef) #1
17-
// CHECK: declare noundef i32 @_Z13getEnumTagi32Pv(i8* noundef) #1
16+
// CHECK: declare noundef{{( zeroext)?}} i8 @_Z12getEnumTagi8Pv(i8* noundef)
17+
// CHECK: declare noundef i32 @_Z13getEnumTagi32Pv(i8* noundef)

0 commit comments

Comments
 (0)