aaron.ballman added inline comments.

================
Comment at: clang/test/SemaObjCXX/flexible-array.mm:7
   int s;
-  char c[];
+  char c[]; //expected-error {{flexible array member 'c' in a union is not 
allowed}}
 };
----------------
CC @rjmccall -- this is changing Objective-C++ behavior, which I assume you're 
fine with because it's following the same changes in C++ behavior, but wanted 
to call out explicitly in case you had concerns.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147626

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

Reply via email to