aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-04-05 22:56:52 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-04-05 22:56:52 +0000
commitadcb04d2e3b9c94a87fbe8cd0c7d813516e01ac8 (patch)
treed9122ab070b0afc86d644a9a50af1373afc8edb8 /gcc/testsuite/gnat.dg
parent5a82954466e9b717937ee4c343d83c271008f5a6 (diff)
downloadgcc-adcb04d2e3b9c94a87fbe8cd0c7d813516e01ac8.zip
gcc-adcb04d2e3b9c94a87fbe8cd0c7d813516e01ac8.tar.gz
gcc-adcb04d2e3b9c94a87fbe8cd0c7d813516e01ac8.tar.bz2
pr35823.adb: Rename to size_attribute.adb.
* gnat.dg/pr35823.adb: Rename to size_attribute.adb. From-SVN: r133946
Diffstat (limited to 'gcc/testsuite/gnat.dg')
-rw-r--r--gcc/testsuite/gnat.dg/pr35823.adb6
-rw-r--r--gcc/testsuite/gnat.dg/size_attribute.adb8
2 files changed, 8 insertions, 6 deletions
diff --git a/gcc/testsuite/gnat.dg/pr35823.adb b/gcc/testsuite/gnat.dg/pr35823.adb
deleted file mode 100644
index e882aa3..0000000
--- a/gcc/testsuite/gnat.dg/pr35823.adb
+++ /dev/null
@@ -1,6 +0,0 @@
-procedure pr35823 (Arg : in String) is
- Size : constant Natural := Arg'Size;
-begin
- null;
-end pr35823;
-
diff --git a/gcc/testsuite/gnat.dg/size_attribute.adb b/gcc/testsuite/gnat.dg/size_attribute.adb
new file mode 100644
index 0000000..25642e0
--- /dev/null
+++ b/gcc/testsuite/gnat.dg/size_attribute.adb
@@ -0,0 +1,8 @@
+-- PR middle-end/35823
+-- { dg-do compile ]
+
+procedure Size_Attribute (Arg : in String) is
+ Size : constant Natural := Arg'Size;
+begin
+ null;
+end;