1 // RUN: clang-diff -ast-dump-json %s -- \
2 // RUN: | %python -c 'import json, sys; json.dump(json.loads(sys.stdin.read()), sys.stdout, sort_keys=True, indent=2)' \
5 // CHECK: "begin": 311,
6 // CHECK: "type": "FieldDecl",
8 // CHECK: "type": "CXXRecordDecl",
13 // CHECK: "children": [
15 // CHECK-NEXT: "begin":
16 // CHECK-NEXT: "children": []
19 // CHECK-NEXT: "type": "CharacterLiteral"
22 // CHECK: "type": "VarDecl",
25 // CHECK: "value": "abc \n\t\u0000\u001f"
26 char s
[] = "abc \n\t\0\x1f";