check '-Zast-json' & '-Zast-json-noexpand' to output legal JSON

This commit is contained in:
JOE1994
2020-04-19 22:24:42 -04:00
parent 928eedb0aa
commit b469d2db6d
4 changed files with 14 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
// Check that AST json printing works.
#![crate_type = "lib"]
// check-pass
// compile-flags: -Zast-json-noexpand
// compile-flags: -Zast-json
// normalize-stdout-test ":\d+" -> ":0"
// Only include a single item to reduce how often the test output needs