shafik added inline comments.

================
Comment at: clang/test/SemaCXX/cxx2a-consteval.cpp:1120
+
+void k() { (int)h{nullptr}; }
+// expected-error@-1 {{call to consteval function 'GH64949::h::h' is not a 
constant expression}}
----------------
Another variety maybe worthing adding a test for 

```
int k() { return h{nullptr}; }
``` 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158733

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

Reply via email to