blob: f8243e1ea4dd3b75cac989f33c9adf888a4a982f [file] [log] [blame]
// We need to require macOS because swiftSyntax currently doesn't build on Linux
// REQUIRES: OS=macosx
// RUN: %target-swift-ide-test -syntax-coloring -source-filename %s | %FileCheck %s
// RUN: %target-swift-ide-test -syntax-coloring -typecheck -source-filename %s | %FileCheck %s
// RUN: %swift-swiftsyntax-test -classify-syntax -source-file %s | %FileCheck %s
// CHECK: <kw>return</kw> c.return
class C {
var `return` = 2
}
func foo(_ c: C) -> Int {
return c.return
}