aboutsummaryrefslogtreecommitdiff
path: root/tests/amalgam/test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/amalgam/test')
-rw-r--r--tests/amalgam/test/build/bootstrap.build2
-rw-r--r--tests/amalgam/test/buildfile8
-rw-r--r--tests/amalgam/test/driver.cxx4
3 files changed, 14 insertions, 0 deletions
diff --git a/tests/amalgam/test/build/bootstrap.build b/tests/amalgam/test/build/bootstrap.build
new file mode 100644
index 0000000..a53e738
--- /dev/null
+++ b/tests/amalgam/test/build/bootstrap.build
@@ -0,0 +1,2 @@
+project = amalgam-test
+using config
diff --git a/tests/amalgam/test/buildfile b/tests/amalgam/test/buildfile
new file mode 100644
index 0000000..3fadac3
--- /dev/null
+++ b/tests/amalgam/test/buildfile
@@ -0,0 +1,8 @@
+using cxx
+
+hxx.ext = hxx
+cxx.ext = cxx
+
+import libs += amalgam-libtest
+
+exe{driver}: cxx{driver} $libs
diff --git a/tests/amalgam/test/driver.cxx b/tests/amalgam/test/driver.cxx
new file mode 100644
index 0000000..70b4146
--- /dev/null
+++ b/tests/amalgam/test/driver.cxx
@@ -0,0 +1,4 @@
+int
+main ()
+{
+}