aaron.ballman added inline comments.
================ Comment at: clang/test/AST/Interp/literals.cpp:878 + (int){1}; + (int[]){1,2,3}; ---------------- Can you also add a test like: ``` constexpr int oh_my(int x) { (int){ x++ }; return x; } static_assert(oh_my(0) == 1); ``` and ``` constexpr int oh_my(int x) { int y{x++}; return x; } static_assert(oh_my(0) == 1); ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D149837/new/ https://reviews.llvm.org/D149837 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits