mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
8 lines
170 B
Swift
8 lines
170 B
Swift
// RUN: not %target-swift-frontend -emit-silgen %s
|
|
|
|
// https://github.com/apple/swift/issues/52464
|
|
// Just make sure we don't crash.
|
|
|
|
func foo(x: inout Int = 0) {}
|
|
foo()
|