summaryrefslogtreecommitdiff
path: root/libs/scope_exit/test/native_tu1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/scope_exit/test/native_tu1.cpp')
-rw-r--r--libs/scope_exit/test/native_tu1.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/scope_exit/test/native_tu1.cpp b/libs/scope_exit/test/native_tu1.cpp
new file mode 100644
index 0000000000..dd03a14ac2
--- /dev/null
+++ b/libs/scope_exit/test/native_tu1.cpp
@@ -0,0 +1,13 @@
+// Copyright Alexander Nasonov 2007-2008
+//
+// 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 "tu_test.hpp"
+
+int tu1()
+{
+ return inline_f() + template_f(1);
+}
+