1 // RUN: clang-pseudo -grammar=cxx -source=%s --print-forest | FileCheck %s
3 // CHECK: translation-unit~simple-declaration := decl-specifier-seq init-declarator-list ;
4 // CHECK-NEXT: ├─decl-specifier-seq~BOOL
5 // CHECK-NEXT: ├─init-declarator-list~noptr-declarator := noptr-declarator parameters-and-qualifiers
6 // CHECK-NEXT: │ ├─noptr-declarator~operator-function-id := OPERATOR operator-name
7 // CHECK-NEXT: │ │ ├─OPERATOR
8 // CHECK-NEXT: │ │ └─operator-name~<
9 // CHECK-NEXT: │ └─parameters-and-qualifiers := ( )