Bug 97476 - Use of NTTP placeholder checked for CTAD before instantiation
Summary: Use of NTTP placeholder checked for CTAD before instantiation
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 11.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL: https://godbolt.org/z/ocWhn8
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2020-10-17 23:58 UTC by Johel Ernesto Guerrero Peña
Modified: 2021-03-14 23:16 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johel Ernesto Guerrero Peña 2020-10-17 23:58:24 UTC
See the URL.
```C++
template <int I> struct S { };
template <S s> class C { };
template <S s> using A = C<s>;
```
[93083](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93083) may be a duplicate of this.
Comment 1 Johel Ernesto Guerrero Peña 2021-03-14 23:16:51 UTC
Fixed in trunk.