Skip to content

Commit da14b83

Browse files
committed
Never inline isConcrete_false test
The `Builtin.isConcrete` function is apparently sensitive to inlining in unoptimized builds.
1 parent ba0612f commit da14b83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/stdlib/Builtins.swift

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ tests.test("_isConcrete") {
298298
func isConcrete_true<T>(_ type: T.Type) -> Bool {
299299
return _isConcrete(type)
300300
}
301+
@inline(never)
301302
func isConcrete_false<T>(_ type: T.Type) -> Bool {
302303
return _isConcrete(type)
303304
}

0 commit comments

Comments
 (0)