We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6b7ec9 + 64ab6fc commit ff3f736Copy full SHA for ff3f736
test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp
@@ -13,5 +13,7 @@ void test(void *p) {
13
getEnumTagi32(p);
14
}
15
16
-// CHECK: declare noundef{{( zeroext)?}} i8 @_Z12getEnumTagi8Pv(i8* noundef)
17
-// CHECK: declare noundef i32 @_Z13getEnumTagi32Pv(i8* noundef)
+// NOTE: it's important to verify that i32 function does not zeroext/signext return value.
+
18
+// CHECK: declare{{( noundef)?}}{{( zeroext)?}} i8 @_Z12getEnumTagi8Pv(i8* noundef)
19
+// CHECK: declare{{( noundef)?}} i32 @_Z13getEnumTagi32Pv(i8* noundef)
0 commit comments