aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cstreams.c
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2018-01-11 08:53:48 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-01-11 08:53:48 +0000
commit4727f693ad0f5ea1f3496d76361204e16abd2615 (patch)
treec27152b758c5e0df86a26a394d7f3033aeccd6f7 /gcc/ada/cstreams.c
parent1ceee6a144f29ef39744316174a69e648c6c6582 (diff)
downloadgcc-4727f693ad0f5ea1f3496d76361204e16abd2615.zip
gcc-4727f693ad0f5ea1f3496d76361204e16abd2615.tar.gz
gcc-4727f693ad0f5ea1f3496d76361204e16abd2615.tar.bz2
[Ada] Null procedures not allowed in protected definitions
The syntax rules do not allow null procedures in protected definitions. This patch fixes a bug that accidentally allowed them. 2018-01-11 Bob Duff <duff@adacore.com> gcc/ada/ * par-ch9.adb (P_Protected_Operation_Declaration_Opt): Give an error if a null procedure occurs in a protected definition. gcc/testsuite/ * gnat.dg/protected_null.adb: New testcase. From-SVN: r256511
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions