Mercurial > hg > CbC > CbC_llvm
view clang/test/Misc/verify.c @ 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 | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -fsyntax-only -verify %s struct s; // expected-note 7 {{forward declaration of 'struct s'}} // standard string matching struct s s1; // expected-error {{tentative definition has type 'struct s' that is never completed}} struct s s2; // expected-error {{tentative definition has type}} // regex matching struct s r1; // expected-error {{tentative definition has type 'struct s' that is never completed}} struct s r2; // expected-error-re {{tentative definition has type '{{.*[[:space:]]*.*}}' that is never completed}} struct s r3; // expected-error-re {{tentative definition has type '{{(.*)[[:space:]]*(.*)}}' that is never completed}} struct s r4; // expected-error-re {{{{^}}tentative}} struct s r5; // expected-error-re {{completed{{$}}}}