[Bug ada/15613] New: Illegal program not detected, named parameters must be last

ludovic dot brenta at insalien dot org gcc-bugzilla@gcc.gnu.org
Sun May 23 23:42:00 GMT 2004


package Test_244946 is
   procedure p;
   pragma Import (Convention => C, p);  -- named parameters must be last
end Test_244946;

I was expecting an error message like:
test_244946.adb:3:35: named parameter association expected

Instead, the compiler remains silent.

-- 
           Summary: Illegal program not detected, named parameters must be
                    last
           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
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list