// RUN: %target-run-simple-swift(-enable-experimental-feature RawLayout) | %FileCheck %s // REQUIRES: executable_test // REQUIRES: swift_feature_RawLayout @_rawLayout(like: T) struct Cell: ~Copyable {} struct Foo: ~Copyable { let cell = Cell() let myValue = 123 } func something(_ x: borrowing Foo) -> Int { x.myValue } // CHECK: 123 print(something(Foo())) // CHECK: 123 print(something(Foo()))