summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp
new file mode 100644
index 00000000..9d42a72d
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/Issue_2907.cpp
@@ -0,0 +1,7 @@
+template< typename Enum > class Flags
+{
+ public:
+ constexpr Flags() : value{ 0 } {}
+ constexpr Flags( Enum f ) : value( static_cast< value_t >( f ) ) {}
+ constexpr Flags( Flags const& ) = default;
+}