☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Index
/
index-designated-init-recovery.cpp
☽
☼
clang/test/Index/index-designated-init-recovery.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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'
7
}
8
// RUN: c-index-test -index-file %s -Xclang -frecovery-ast 2>&1 | FileCheck %s