| 1 |
// PR c++/120013 |
| 2 |
|
| 3 |
template <typename> struct tuple_element; |
| 4 |
template <typename T> tuple_element<T*> get(T); |
| 5 |
|
| 6 |
// This case wasn't an issue for the PR, but worth double-checking |
| 7 |
template <typename> constexpr int var = 123; |
| 8 |
template <typename T> void foo(T, int = var<T*>); |