Files
swift-mirror/test/Syntax/Parser/tree.swift
Argyrios Kyrtzidis 1dc288fb23 Introduce C parser library
Add a shared library with a C API that provides access to the syntactic parser with callbacks for the inference of raw syntax nodes.
This is primarily intended to be used by SwiftSyntax to speed-up source code parsing for it.
2019-01-09 18:30:45 -08:00

8 lines
155 B
Swift

// REQUIRES: syntax_parser_lib
// RUN: %swift-syntax-parser-test %s -dump-tree > %t.result
// RUN: diff -u %s.result %t.result
func test() {
"a\(b)c"
}