brintos

brintos / llvm-project-archived public Read only

0
0
Text · 233 B · e93f77f Raw
9 lines · cpp
1void test() {2  for (auto [loopVar] : y) { // y has to be unresolved3    loopVa4  }5}6// RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-3):11 %s -o - \7// RUN:            | FileCheck %s8// CHECK: COMPLETION: loopVar9