aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-12-24 16:15:38 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-12-24 16:15:38 +0000
commite66d38fe0510d448d35968205fdb79a6a1b2f675 (patch)
tree68709bd2dd6668b6ceb1927b3028f4b42c03cdfe
parent877bf1953af3383597ad4f76971539e5e05c6d31 (diff)
downloadgcc-e66d38fe0510d448d35968205fdb79a6a1b2f675.zip
gcc-e66d38fe0510d448d35968205fdb79a6a1b2f675.tar.gz
gcc-e66d38fe0510d448d35968205fdb79a6a1b2f675.tar.bz2
* gnat.dg/opt13_pkg.ad[sb]: Fix line ending.
From-SVN: r168227
-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 1324aeb..87bc46f 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 b596a5c..8500227 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 39567f60..f52f782 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;