Commit 6891bd6c by Arnaud Charlet Committed by Arnaud Charlet

sync1.ads: Fix error now flagged by gnat.

	* gnat.dg/sync1.ads: Fix error now flagged by gnat.
	* gnat.dg/specs/limited1.ads: Ditto.

From-SVN: r146088
parent 3b482fca
2009-04-15 Arnaud Charlet <charlet@adacore.com>
* gnat.dg/sync1.ads: Fix error now flagged by gnat.
* gnat.dg/specs/limited1.ads: Ditto.
2009-04-14 Michael Meissner <meissner@linux.vnet.ibm.com>
PR testsuite/39769
......
......@@ -5,8 +5,6 @@ package limited1 is
type Buffer is limited interface;
type Synchronous_Buffer_Type is synchronized interface and Buffer;
type Client_Buffer_Type is new Synchronous_Buffer_Type with private;
private
type Client_Buffer_Type is new Synchronous_Buffer_Type with null record;
end limited1;
package sync1 is
type Chopstick_Type is synchronized interface;
type Chopstick is new Chopstick_Type with private;
type Chopstick is synchronized new Chopstick_Type with private;
private
protected type Chopstick is new Chopstick_Type with
entry Pick_Up;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment