repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Index
/
index-designated-init-recovery.cpp
blob
182a1aeeb8e6e05fdc3365f2f3f03fd7d7abaaba
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