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 8569b6e commit 296d829Copy full SHA for 296d829
test/Sema/bitwse_copyable_import.swift
@@ -60,6 +60,11 @@ struct IntsTrailing3 {
60
int is[];
61
} __attribute__((__swift_attr__("_BitwiseCopyable")));
62
63
+enum E {
64
+ foo,
65
+ bar
66
+};
67
+
68
//--- Downstream.swift
69
70
func take<T : _BitwiseCopyable>(_ t: T) {}
@@ -85,3 +90,7 @@ func passIntsTrailing2(_ t: IntsTrailing2) {
85
90
func passIntsTrailing3(_ t: IntsTrailing3) {
86
91
take(t)
87
92
}
93
94
+func passE(_ e: E) {
95
+ take(e)
96
+}
0 commit comments