https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126321
Bug ID: 126321
Summary: Vsibility problem: resolution of operator fails
because of not directly visible second operator
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Created attachment 65089
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65089&action=edit
Complete code with detailed failure description
function "/" (Left, Right: Whole) return Rational; -- directly visible
function "/" (Left, Right: Whole) return Whole; -- not directly visible
Resolution of 5/1 returning Rational fails in equality: R = 5/1.