This is the mail archive of the gcc-patches@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] |
Compiling wrong_aspect.ads must yield: wrong_aspect.ads:8:62: aspect identifier expected wrong_aspect.ads:10:50: aspect identifier expected wrong_aspect.ads:12:50: aspect identifier expected --- package Wrong_Aspect is type Bits_1 is mod 2**1 with Size => 1; type Bits_2 is mod 2**2 with Size => 2; type Bits_4 is mod 2**4 with Size => 4; type Word_1 is array (0 .. 31) of Bits_1 with Size => 32, Pack; type Word_2 is array (0 .. 15) of Bits_2 with Size => 32, Packed; type Word_3 is array (0 .. 15) of Bits_2 with Packed; type Word_4 is array (0 .. 7) of Bits_4 with Packed, Size => 32; end Wrong_Aspect; Tested on x86_64-pc-linux-gnu, committed on trunk 2013-10-10 Ed Schonberg <schonberg@adacore.com> * par-ch13.adb (Aspect_Specifications_Present): In Ada 2012, recognize an aspect specification with a misspelled name if it is followed by a a comma or semicolon.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |