summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp
new file mode 100644
index 00000000..3c4f3b9e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/DefaultAndDelete.cpp
@@ -0,0 +1,12 @@
+class Foo
+{
+ public:
+ Foo( int bar)=0;
+ Foo( int bar = 777 );
+ Foo( const Foo & ) = delete;
+ Foo( int boo ) =default;
+ Foo( unsigned int ) =default;
+ Foo( unsigned int boo=999 );
+ Foo &operator= ( const Foo & ) = delete;
+ ~Foo();
+};