diff options
Diffstat (limited to 'tests/install/simple')
-rw-r--r-- | tests/install/simple/buildfile | 3 | ||||
-rw-r--r-- | tests/install/simple/driver.cxx | 3 | ||||
-rw-r--r-- | tests/install/simple/utility.hxx | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/install/simple/buildfile b/tests/install/simple/buildfile index 986f391..cc11491 100644 --- a/tests/install/simple/buildfile +++ b/tests/install/simple/buildfile @@ -3,4 +3,5 @@ using cxx hxx.ext = hxx cxx.ext = cxx -exe{driver}: cxx{driver} +exe{driver}: cxx{driver} hxx{utility} +exe{driver}: install = sbin diff --git a/tests/install/simple/driver.cxx b/tests/install/simple/driver.cxx index a444f13..1b28c94 100644 --- a/tests/install/simple/driver.cxx +++ b/tests/install/simple/driver.cxx @@ -1,2 +1,3 @@ -int main () {} +#include "utility.hxx" +int main () {return result;} diff --git a/tests/install/simple/utility.hxx b/tests/install/simple/utility.hxx new file mode 100644 index 0000000..1b8e18e --- /dev/null +++ b/tests/install/simple/utility.hxx @@ -0,0 +1,2 @@ +const int result = 0; + |