check '-Zast-json' & '-Zast-json-noexpand' to output legal JSON
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user