Files
swift-mirror/test/Syntax/serialize_multiple_decls.swift
Harlan 0cc8132425 [Syntax] Serialize top level decls as an array (#10405)
* Serialize TopLevelDecls as an array of raw syntax nodes, instead of one-after-another.

* Add tests for multiple decls

* Remove extra newlines from test inputs
2017-06-20 14:48:06 -07:00

9 lines
162 B
Swift

// RUN: %swift-syntax-test -input-source-filename %s -serialize-raw-tree > %t
// RUN: diff %t %S/Inputs/serialize_multiple_decls.json
struct A {
}
struct B {
}