mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Previously, we classified e.g. final as an identifier, but it should be qualified as a contextual keyword. rdar://92463926 [apple/swift-syntax#387]
5 lines
153 B
Swift
5 lines
153 B
Swift
// RUN: %swift-syntax-test -input-source-filename %s -serialize-raw-tree > %t
|
|
// RUN: diff %t %S/Inputs/serialize_class_decl.json -u
|
|
|
|
final class Foo {}
|