mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[swift-parse-test] Add -skip-bodies option
This is no-op for SwiftParser. Also add a sanity check test file.
This commit is contained in:
8
test/Misc/parse_test.swift
Normal file
8
test/Misc/parse_test.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
// REQUIRES: swift_swift_parser
|
||||
// RUN: %swift-parse-test -swift-parser -lib-parse -skip-bodies -n 2 %s
|
||||
|
||||
struct S {
|
||||
func foo() {
|
||||
print(1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user