pmor13 added a comment.

Note that this code:

  int x;
  
  void f(void)
  {
      extern int x = 1;
  }

needs to produce:

  error" declaration of block scope identifier with external linkage shall have 
no initializer

So, `err_block_extern_cant_init` needs to be updated too (I think).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133088/new/

https://reviews.llvm.org/D133088

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to