// RUN: rm -rf %t && mkdir -p %t
// RUN: clang-doc --pretty-json --extra-arg -std=c++20 --output=%t --format=json --executor=standalone %S/../Inputs/concept.cpp
// RUN: FileCheck %s < %t/json/GlobalNamespace/index.json

// CHECK:       {
// CHECK-NEXT:    "Concepts": [
// CHECK-NEXT:      {
// CHECK-NEXT:        "ConstraintExpression": "requires (T x) { ++x; x++; }",
// CHECK-NEXT:        "Description": {
// CHECK-NEXT:        "HasParagraphComments": true,
// CHECK-NEXT:        "ParagraphComments": [
// CHECK-NEXT:          [
// CHECK-NEXT:            {
// CHECK-NEXT:              "TextComment": "Requires that T suports post and pre-incrementing."
// CHECK:             "End": true,
// CHECK-NEXT:        "InfoType": "concept",
// CHECK-NEXT:        "IsType": true,
// CHECK-NEXT:        "Location": {
// CHECK-NEXT:          "Filename": "{{.*}}concept.cpp",
// CHECK-NEXT:          "LineNumber": 2
// CHECK-NEXT:        },
// CHECK-NEXT:        "Name": "Incrementable",
// CHECK-NEXT:        "Template": {
// CHECK-NEXT:          "Parameters": [
// CHECK-NEXT:            {
// CHECK-NEXT:              "End": true,
// CHECK-NEXT:              "Param": "typename T"
// CHECK-NEXT:            }
// CHECK-NEXT:          ]
// CHECK-NEXT:        "VerticalDisplay": false
// CHECK-NEXT:        },
// CHECK-NEXT:        "USR": "{{[0-9A-F]*}}"
// CHECK-NEXT:      }
// CHECK-NEXT:    ],
// CHECK:        "Name": "Global Namespace",
// CHECK:        "USR": "0000000000000000000000000000000000000000"
// CHECK:      }
