test()1 void test() {
2   for (auto [loopVar] : y) { // y has to be unresolved
3     loopVa
4   }
5 }
6 // RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:3:11 %s -o - \
7 // RUN:            | FileCheck %s
8 // CHECK: COMPLETION: loopVar
9