mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In case an unchecked_addr_cast is used to convert between pointer and non-pointer, we missed some escaping values. This can be the case when using C unions. https://bugs.swift.org/browse/SR-12427 rdar://problem/60983997
9 lines
54 B
C
9 lines
54 B
C
struct S {
|
|
int i;
|
|
};
|
|
|
|
union U {
|
|
struct S *p;
|
|
};
|
|
|