Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / index-designated-init-recovery.cpp
blob182a1aeeb8e6e05fdc3365f2f3f03fd7d7abaaba
1 struct Bar {};
2 struct Foo {
3 void method(Bar bar) {}
4 };
5 void NoCrash(Foo t) {
6 t.method({.abc = 50}); // CHECK: field designator 'abc' does not refer to any field in type 'Bar'
8 // RUN: c-index-test -index-file %s -Xclang -frecovery-ast 2>&1 | FileCheck %s