// RUN: %empty-directory(%t) // RUN: %target-swift-frontend %s -emit-module -enable-experimental-feature RawLayout -disable-availability-checking -parse-as-library -o %t // RUN: %target-sil-opt -enable-sil-verify-all %t/value_generics.swiftmodule -o - | %FileCheck %s // REQUIRES: swift_feature_RawLayout // CHECK: @_rawLayout(likeArrayOf: Element, count: Count) struct Vector : ~Copyable where Element : ~Copyable { @_rawLayout(likeArrayOf: Element, count: Count) struct Vector: ~Copyable {} // CHECK: extension Vector where Element == Int extension Vector where Element == Int { func something() {} } // CHECK: extension Vector where Count == 2 extension Vector where Count == 2 { func something2() {} } // CHECK: func something(_: borrowing Vector) func something(_: borrowing Vector) {} // CHECK: func hello(_: [4 of Int]) func hello(_: [4 of Int]) {}