mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
No update is needed for the values they produce. This pass should really be refactored not to crash on instructions that aren't explicitly listed or at least not to compile if not every instruction is listed. rdar://133779160
10 lines
164 B
Swift
10 lines
164 B
Swift
// RUN: %target-build-swift %s -sanitize=thread
|
|
|
|
// REQUIRES: tsan_runtime
|
|
|
|
class C {}
|
|
func passC(_ b: consuming C) {
|
|
mutateC(&b)
|
|
}
|
|
func mutateC(_ b: inout C) {}
|