summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/yap/test/fail_right.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/yap/test/fail_right.cpp')
-rw-r--r--src/boost/libs/yap/test/fail_right.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/boost/libs/yap/test/fail_right.cpp b/src/boost/libs/yap/test/fail_right.cpp
new file mode 100644
index 000000000..2889df5e7
--- /dev/null
+++ b/src/boost/libs/yap/test/fail_right.cpp
@@ -0,0 +1,12 @@
+// Copyright (C) 2016-2018 T. Zachary Laine
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+#include <boost/yap/expression.hpp>
+
+
+int main()
+{
+ boost::yap::right(boost::yap::make_terminal(1));
+}