summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp
deleted file mode 100644
index d2b4479f..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/Issue_3996.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <iostream>
-
-class OtherClass
-{
-public:
- int i;
- OtherClass(): i(5) {}
- OtherClass* self() {return this;}
-};
-
-class MyClass
-{
-public:
- OtherClass x;
- int getI();
-};
-
-int MyClass::getI() {
- return this->x.self()->i;
-}
-
-int main() {
- MyClass c;
- std::cout << c.getI() << std::endl;
-}