Support making method calls to C++ overload sets. (#6069)

Fixes #6059
This commit is contained in:
Richard Smith
2025-09-15 23:41:15 +00:00
committed by GitHub
parent 0cafb8f0e4
commit ca40e9d693
10 changed files with 475 additions and 251 deletions
@@ -514,6 +514,7 @@ fn MyF(bar: Cpp.Bar*);
// CHECK:STDOUT: %bar.ref: %ptr.f68 = name_ref bar, %bar
// CHECK:STDOUT: %.loc15: ref %Bar = deref %bar.ref
// CHECK:STDOUT: %f.ref: %.2e2 = name_ref f, imports.%.6e0 [concrete = constants.%empty_struct]
// CHECK:STDOUT: %bound_method: <bound method> = bound_method %.loc15, %f.ref
// CHECK:STDOUT: return
// CHECK:STDOUT: }
// CHECK:STDOUT: