Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/index-designated-init-recovery.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
struct Bar {}; struct Foo { void method(Bar bar) {} }; void NoCrash(Foo t) { t.method({.abc = 50}); // CHECK: field designator 'abc' does not refer to any field in type 'Bar' } // RUN: c-index-test -index-file %s -Xclang -frecovery-ast 2>&1 | FileCheck %s