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 2a84d6d + f9f3f6a commit 7a5035bCopy full SHA for 7a5035b
test/IRGen/has_symbol.swift
@@ -9,7 +9,7 @@
9
func testGlobalFunctions() {
10
if #_hasSymbol(function(with:)) {}
11
// CHECK: define linkonce_odr hidden swiftcc i1 @"$s17has_symbol_helper8function4withySi_tFTwS"()
12
- // CHECK: ret i1 icmp ne (void (i64)* @"$s17has_symbol_helper8function4withySi_tF", void (i64)* null)
+ // CHECK: ret i1 icmp ne (void ({{i32|i64}})* @"$s17has_symbol_helper8function4withySi_tF", void (i64)* null)
13
14
if #_hasSymbol(throwingFunc) {}
15
// CHECK: define linkonce_odr hidden swiftcc i1 @"$s17has_symbol_helper12throwingFuncyyKFTwS"()
0 commit comments