| | | | --- | --- | | Bugzilla Link | [43851](https://llvm.org/bz43851) | | Version | 8.0 | | OS | Windows NT | | Attachments | [repro](https://user-images.githubusercontent.com/433009/143760001-7dfec107-2721-4872-8521-26110b0cff9a.gz) | ## Extended Description The last declaration in the following code: ``` struct A { template <int> A foo(); }; auto p = new A; auto x = p -> foo<1>(); ``` Should be ` auto x = p->foo<1>();`