summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-24 16:15:38 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-24 16:15:38 +0000
commit3ef86c58df969ef15cff92f5168756963778d30b (patch)
tree68709bd2dd6668b6ceb1927b3028f4b42c03cdfe
parentf2187fb09b2fb245fd7e968c0f8b47226c07fc46 (diff)
downloadppe42-gcc-3ef86c58df969ef15cff92f5168756963778d30b.tar.gz
ppe42-gcc-3ef86c58df969ef15cff92f5168756963778d30b.zip
* gnat.dg/opt13_pkg.ad[sb]: Fix line ending.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168227 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gnat.dg/opt13_pkg.adb62
-rw-r--r--gcc/testsuite/gnat.dg/opt13_pkg.ads30
3 files changed, 50 insertions, 46 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1324aeb83b8..87bc46f01f0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-24 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gnat.dg/opt13_pkg.ad[sb]: Fix line ending.
+
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* obj-c.dg/gnu-api-2-class.m: Test that class_conformsToProtocol()
diff --git a/gcc/testsuite/gnat.dg/opt13_pkg.adb b/gcc/testsuite/gnat.dg/opt13_pkg.adb
index b596a5c2344..850022766fc 100644
--- a/gcc/testsuite/gnat.dg/opt13_pkg.adb
+++ b/gcc/testsuite/gnat.dg/opt13_pkg.adb
@@ -1,31 +1,31 @@
-package body Opt13_Pkg is
-
- subtype Index_Type is Natural range 0 .. 16;
-
- type Arr is array (Index_Type range <>) of Integer;
-
- type Rec is record
- F1, F2, F3 : Float;
- N : Natural;
- B1, B2 : Boolean;
- F4 : Float;
- end record;
-
- type Data (D : Index_Type) is record
- A : Arr (1 .. D);
- R : Rec;
- end record;
-
- Zero : constant Rec := (0.0, 0.0, 0.0, 0, False, False, 0.0);
-
- procedure Allocate (T : out My_Type) is
- begin
- T := new Data (Index_Type'last);
- T.R := Zero;
-
- for I in 1 .. T.A'last loop
- N := 1;
- end loop;
- end;
-
-end Opt13_Pkg;
+package body Opt13_Pkg is
+
+ subtype Index_Type is Natural range 0 .. 16;
+
+ type Arr is array (Index_Type range <>) of Integer;
+
+ type Rec is record
+ F1, F2, F3 : Float;
+ N : Natural;
+ B1, B2 : Boolean;
+ F4 : Float;
+ end record;
+
+ type Data (D : Index_Type) is record
+ A : Arr (1 .. D);
+ R : Rec;
+ end record;
+
+ Zero : constant Rec := (0.0, 0.0, 0.0, 0, False, False, 0.0);
+
+ procedure Allocate (T : out My_Type) is
+ begin
+ T := new Data (Index_Type'last);
+ T.R := Zero;
+
+ for I in 1 .. T.A'last loop
+ N := 1;
+ end loop;
+ end;
+
+end Opt13_Pkg;
diff --git a/gcc/testsuite/gnat.dg/opt13_pkg.ads b/gcc/testsuite/gnat.dg/opt13_pkg.ads
index 39567f606d4..f52f782f4d6 100644
--- a/gcc/testsuite/gnat.dg/opt13_pkg.ads
+++ b/gcc/testsuite/gnat.dg/opt13_pkg.ads
@@ -1,15 +1,15 @@
-package Opt13_Pkg is
-
- N : Natural := 0;
-
- type My_Type is private;
-
- procedure Allocate (T : out My_Type);
-
-private
-
- type Data;
-
- type My_Type is access Data;
-
-end Opt13_Pkg;
+package Opt13_Pkg is
+
+ N : Natural := 0;
+
+ type My_Type is private;
+
+ procedure Allocate (T : out My_Type);
+
+private
+
+ type Data;
+
+ type My_Type is access Data;
+
+end Opt13_Pkg;
OpenPOWER on IntegriCloud