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 4a4bbe8 commit 0e0a4e6Copy full SHA for 0e0a4e6
test/IDE/coloring.swift
@@ -278,6 +278,10 @@ func test4(inout a: Int) {
278
// CHECK: <kw>if</kw> <kw>#available</kw> (<kw>OSX</kw> >= <float>10.10</float>, <kw>iOS</kw> >= <float>8.01</float>) {<kw>let</kw> OSX = <str>"iOS"</str>}}{{$}}
279
if #available (OSX >= 10.10, iOS >= 8.01) {let OSX = "iOS"}}
280
281
+// CHECK: <kw>func</kw> test4b(a: <kw>inout</kw> <type>Int</type>) {{{$}}
282
+func test4b(a: inout Int) {
283
+}
284
+
285
// CHECK: <kw>class</kw> MySubClass : <type>MyCls</type> {
286
class MySubClass : MyCls {
287
// CHECK: <attr-builtin>override</attr-builtin> <kw>func</kw> foo(x: <type>Int</type>) {}
0 commit comments