llvm-project/clang-tools-extra/pseudo/test/cxx/structured-binding.cpp
raw| 1 | // RUN: clang-pseudo -grammar=cxx -source=%s --start-symbol=statement-seq --print-forest | FileCheck %s |
| 2 | |
| 3 | // Verify there is no false parse of the structured binding declaration. |
| 4 | ABC[post] = abc; |
| 5 | // CHECK: statement-seq~expression-statement := expression ; |
| 6 | // CHECK: postfix-expression [ expr-or-braced-init-list ] |