1 | // RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s |
---|---|
2 | void s(int[]); |
3 | // CHECK: parameter-declaration-clause~parameter-declaration := decl-specifier-seq abstract-declarator |
4 | // CHECK-NEXT: ├─decl-specifier-seq~INT := tok[3] |
5 | // CHECK-NEXT: └─abstract-declarator~noptr-abstract-declarator := [ ] |
6 | // CHECK-NEXT: ├─[ := tok[4] |
7 | // CHECK-NEXT: └─] := tok[5] |
8 |