Skip to content

Commit 303362c

Browse files
committed
Added test for misspelling of inlinable
1 parent 9e8f8d9 commit 303362c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %target-typecheck-verify-swift
2+
3+
@inlineable public func misspelledInlinable() {}
4+
// expected-error@-1 {{No attribute named '@inlineable', did you mean '@inlinable'?}}{{2-12=inlinable}}

0 commit comments

Comments
 (0)