summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/yap/test/fail_get.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/yap/test/fail_get.cpp')
-rw-r--r--src/boost/libs/yap/test/fail_get.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/boost/libs/yap/test/fail_get.cpp b/src/boost/libs/yap/test/fail_get.cpp
new file mode 100644
index 000000000..c56f1efc8
--- /dev/null
+++ b/src/boost/libs/yap/test/fail_get.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::get(boost::yap::make_terminal(1), boost::hana::llong_c<1>);
+}