From 0a6974072e16f093e1ec4e72d4ae83dc44ea434c Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Mon, 29 Aug 2022 22:52:30 -0700 Subject: [PATCH] [test] update SwiftToCxx unsigned-return-type-no-zext.cpp test to work on Amazon Linux Zeroext is optional --- test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp b/test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp index 9e50d6a549c..71e99c3a355 100644 --- a/test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp +++ b/test/Interop/SwiftToCxx/core/unsigned-return-type-no-zext.cpp @@ -13,5 +13,5 @@ void test(void *p) { getEnumTagi32(p); } -// CHECK: declare noundef zeroext i8 @_Z12getEnumTagi8Pv(i8* noundef) #1 -// CHECK: declare noundef i32 @_Z13getEnumTagi32Pv(i8* noundef) #1 +// CHECK: declare noundef{{( zeroext)?}} i8 @_Z12getEnumTagi8Pv(i8* noundef) +// CHECK: declare noundef i32 @_Z13getEnumTagi32Pv(i8* noundef)