Rombobjörn

summaryrefslogtreecommitdiff
path: root/testsuite/sources/library_2/testcase.adb
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2014-02-05 20:12:26 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2014-02-05 20:12:26 +0100
commit547706f2c2f05ae1a7de2ad098b90164bcfd773a (patch)
treecb31d2863173b7c7fde96969bc862b3af859a50b /testsuite/sources/library_2/testcase.adb
parent183f07836ebcd4c41ee5f89cc61cd1aaab49188e (diff)
Test dependencies between preprocessed and non-preprocessed project files.
Diffstat (limited to 'testsuite/sources/library_2/testcase.adb')
-rw-r--r--testsuite/sources/library_2/testcase.adb24
1 files changed, 24 insertions, 0 deletions
diff --git a/testsuite/sources/library_2/testcase.adb b/testsuite/sources/library_2/testcase.adb
new file mode 100644
index 0000000..df96cc3
--- /dev/null
+++ b/testsuite/sources/library_2/testcase.adb
@@ -0,0 +1,24 @@
+-- part of Comfignat's testsuite
+-- Copyright 2014 B. Persson, Bjorn@Rombobeorn.se
+--
+-- This material is provided as is, with absolutely no warranty expressed
+-- or implied. Any use is at your own risk.
+--
+-- Permission is hereby granted to use or copy this testsuite
+-- for any purpose, provided the above notices are retained on all copies.
+-- Permission to modify the code and to distribute modified code is granted,
+-- provided the above notices are retained, and a notice that the code was
+-- modified is included with the above copyright notice.
+
+
+with Ada.Calendar; use Ada.Calendar;
+with Ada.Text_IO; use Ada.Text_IO;
+
+package body Testcase is
+
+ function Year return String is
+ begin
+ return Year(Clock)'Img;
+ end Year;
+
+end Testcase;