https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114377
Bug ID: 114377
Summary: GCC crashes on an example of CTAD for alias templates
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: hokein.wu at gmail dot com
Target Milestone: ---
(This was spotted when I tried to fix a clang crash.)
gcc trunk crashes on the following code, https://godbolt.org/z/x8E95sfTo
```
template <template <typename> typename Iterator>
struct K {};
template <typename C, typename IteratorPolicy>
class Foo {};
template <typename C, template<typename> typename TTP>
using Bar = Foo<C, K<TTP>>;
void s() {
Bar(1);
}
```