We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a3c16 commit 41f3451Copy full SHA for 41f3451
test/SILGen/bitwise_copyable.swift
@@ -22,3 +22,20 @@ struct B<T> {
22
func doit() -> B<Int> {
23
return .init(t: 0)
24
}
25
+
26
+struct Conditional<T> {
27
+ var t: T
28
+}
29
+extension Conditional : _BitwiseCopyable where T : _BitwiseCopyable {}
30
31
+func doit() -> B<Conditional<Int>> {
32
+ .init(t: .init(t: 0))
33
34
35
+enum Context<T> {
36
+ struct Here {
37
38
+ }
39
40
41
+func doit() -> Context<Int>.Here { .init(t: 0) }
0 commit comments