mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When compiled with optimizations, the compiler saw that C() doesn't escape and stack promoted it, which breaks the check. Deliberately escape the object into a global array beforehand to ensure it has to be on the heap. rdar://103369708
521 B
521 B