GitNexus/gitnexus/test/fixtures/lang-resolution/cpp-template-partial-order-pointer/main.cpp
azizur100389 e234dac849
feat(cpp): add template partial ordering (#1885)
* feat(cpp): add template partial ordering

* fix(cpp): harden template partial ordering

---------

Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
2026-05-29 21:38:19 +01:00

13 lines
139 B
C++

template<class T>
void pick(T value) {
}
template<class T>
void pick(T* value) {
}
void run() {
int n = 0;
int* p = &n;
pick(p);
}