summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/scope_exit/test/native_tu1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/scope_exit/test/native_tu1.cpp')
-rw-r--r--src/boost/libs/scope_exit/test/native_tu1.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/boost/libs/scope_exit/test/native_tu1.cpp b/src/boost/libs/scope_exit/test/native_tu1.cpp
new file mode 100644
index 000000000..c90015475
--- /dev/null
+++ b/src/boost/libs/scope_exit/test/native_tu1.cpp
@@ -0,0 +1,12 @@
+
+// Copyright (C) 2006-2009, 2012 Alexander Nasonov
+// Copyright (C) 2012 Lorenzo Caminiti
+// Distributed under the Boost Software License, Version 1.0
+// (see accompanying file LICENSE_1_0.txt or a copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+// Home at http://www.boost.org/libs/scope_exit
+
+#include "tu_test.hpp"
+
+int tu1(void) { return inline_f() + template_f(1); }
+