This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/15613] New: Illegal program not detected, named parameters must be last
- From: "ludovic dot brenta at insalien dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2004 09:49:39 -0000
- Subject: [Bug ada/15613] New: Illegal program not detected, named parameters must be last
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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