Files
swift-mirror/validation-test/SILOptimizer/rdar133779160.swift
Nate Chandler 5d9802f25f [ODL] Handle builtins.
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
2024-08-30 16:09:11 -07:00

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) {}