================ @@ -80,10 +81,17 @@ struct found_outside_of_struct { struct bar ** ptr __sized_by_or_null(global); // expected-error {{field 'global' in 'sized_by_or_null' not inside structure}} }; +#ifndef LATE_PARSING_ENABLED struct self_referrential { int bork; struct bar *self[] __sized_by_or_null(self); // expected-error {{use of undeclared identifier 'self'}} }; +#else +struct self_referrential { ---------------- AaronBallman wrote:
and here https://github.com/llvm/llvm-project/pull/102236 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits