Files
ispc/tests_errors/func-param-mismatch-3.ispc
Matt Pharr f8a39402a2 Implement new, simpler function overload resolution algorithm.
We now give each conversion a cost and then find the minimum sum
of costs for all of the possible overloads.

Fixes issue #194.
2012-03-27 13:25:11 -07:00

8 lines
115 B
Plaintext

// Unable to find any matching overload for call to function
void foo(int x);
void bar(int x) {
foo(x, x);
}