Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeCompletion / crash-null-type.cpp
blobe93f77f5eb55b0b220452fafa8cfc02abe304fb2
1 void test() {
2 for (auto [loopVar] : y) { // y has to be unresolved
3 loopVa
6 // RUN: not %clang_cc1 -fsyntax-only -code-completion-at=%s:%(line-3):11 %s -o - \
7 // RUN: | FileCheck %s
8 // CHECK: COMPLETION: loopVar