https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124447

--- Comment #4 from Aakash Gupta <uchanahome8 at gmail dot com> ---
Please ignore previous link, here is the updated version:
https://godbolt.org/z/qcxPhY1Gq

```

using Alias = int;
static_assert(^^int != ^^Alias);
typedef int Alias2;
static_assert(^^int != ^^Alias2);

int main() {
    typename[:^^std::int64_t:] x = 44;
    typename[:^^Alias:] y = 44;
    typename[:^^Alias2:] z = 44;
}
```

Only the first line in main throws compiler error.

Reply via email to