shafik accepted this revision.
shafik added a comment.
LGTM
================
Comment at: clang/test/AST/Interp/records.cpp:144
+ // ref-error {{has incomplete type 'const Bar'}}
+};
+constexpr Bar B; // expected-error {{must be initialized by a constant
expression}} \
----------------
How about `static constexpr B* bp=nullptr;`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136831/new/
https://reviews.llvm.org/D136831
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits