aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/function/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/function/driver.cxx')
-rw-r--r--unit-tests/function/driver.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx
index e97596a..393b456 100644
--- a/unit-tests/function/driver.cxx
+++ b/unit-tests/function/driver.cxx
@@ -54,6 +54,8 @@ namespace build2
f["ambig"] = [](names a, optional<string>) {return a;};
f["ambig"] = [](names a, optional<uint64_t>) {return a;};
+ f["reverse"] = [](names a) {return a;};
+
f["scoped"] = [](const scope*, names a) {return a;};
f["scoped_void"] = [](const scope*, names) {};
f["scoped"] = &scoped;