================ @@ -84,6 +84,14 @@ void test_macro_expansion4() { #undef MY_NULL } +template <typename T> struct pear { + T x; +}; +void test_templated() { + pear<int*> p = { NULL }; ---------------- tkoeppe wrote:
It definitely does, but I was hoping that the absence would cause some kind of test failure! I.e. "first make sure you see the test fail"... Let me add a bogus expectation to confirm. https://github.com/llvm/llvm-project/pull/109169 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits