aboutsummaryrefslogtreecommitdiff
path: root/tests/test/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/simple')
-rw-r--r--tests/test/simple/build/bootstrap.build4
-rw-r--r--tests/test/simple/buildfile10
-rw-r--r--tests/test/simple/driver.cxx4
-rw-r--r--tests/test/simple/utility.cxx1
4 files changed, 19 insertions, 0 deletions
diff --git a/tests/test/simple/build/bootstrap.build b/tests/test/simple/build/bootstrap.build
new file mode 100644
index 0000000..0b7a347
--- /dev/null
+++ b/tests/test/simple/build/bootstrap.build
@@ -0,0 +1,4 @@
+project = test-simple
+amalgamation = # Disabled.
+using config
+using test
diff --git a/tests/test/simple/buildfile b/tests/test/simple/buildfile
new file mode 100644
index 0000000..6113968
--- /dev/null
+++ b/tests/test/simple/buildfile
@@ -0,0 +1,10 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+lib{utility}: cxx{utility}
+exe{driver}: cxx{driver} lib{utility}
+exe{driver}: test = true
+
+.: lib{utility} exe{driver}
diff --git a/tests/test/simple/driver.cxx b/tests/test/simple/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/test/simple/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}
diff --git a/tests/test/simple/utility.cxx b/tests/test/simple/utility.cxx
new file mode 100644
index 0000000..c4bb446
--- /dev/null
+++ b/tests/test/simple/utility.cxx
@@ -0,0 +1 @@
+void f (){}