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 8346bf7 commit 1d45e2fCopy full SHA for 1d45e2f
test/attr/attr_prespecialize_experimental.swift
@@ -0,0 +1,4 @@
1
+// RUN: %target-typecheck-verify-swift
2
+
3
+@_specialize(exported: true, where T == Int) // expected-error{{'exported: true' has no effect in '_specialize' attribute}}
4
+public func myGenericFunc<T>(_ t: T) {}
0 commit comments