| Issue |
124186
|
| Summary |
[clang] template specialization for integer value matches wrong type
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
vasama
|
https://godbolt.org/z/MnqssGY1b
```CPP
template<typename T, auto V>
struct S
{
static constexpr bool value = true;
};
template<typename T>
struct S<T, 0>
{
static constexpr bool value = false;
};
static_assert(S<void, 0L>::value);
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs