Endilll wrote:

> It might be useful to test both with and without exceptions though. ie it's 
> nice to know that this gets diagnosed even when exceptions are disabled

I see a similar test elsewhere with exception disabled:
https://github.com/llvm/llvm-project/blob/073d019c450da7948a23ae240bfc6388971a8f25/clang/test/CXX/conv/conv.fctptr/p1.cpp#L8-L17

Do you think it is enough?

https://github.com/llvm/llvm-project/pull/187195
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to