This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/15804] New: Illegal program not detected, RM 3.8.1(2)


(Debian bug #246386)

package Test_246386 is
   type T1(b: boolean) is record
     case (b) is             --ERROR: parentheses not allowed
        when others => null;
     end case;
   end record;
end Test_246386;


I expect something like:

test_246386.ads:3:10: parentheses not allowed, RM 3.8.1(2)

But I get nothing.

-- 
           Summary: Illegal program not detected, RM 3.8.1(2)
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ludovic dot brenta at insalien dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15804


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]