summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp
new file mode 100644
index 00000000..eda9b0dd
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_405.cpp
@@ -0,0 +1,12 @@
+namespace shark {
+ template<class Closure>
+ struct indexed_iterator {
+ typedef typename boost::mpl::if_<
+ boost::is_const<
+ Closure
+ >,
+ typename Closure::const_reference,
+ typename Closure::reference
+ >::type reference;
+ };
+}