diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30151-Issue_3996.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30151-Issue_3996.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30151-Issue_3996.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30151-Issue_3996.cpp deleted file mode 100644 index b8680b9e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30151-Issue_3996.cpp +++ /dev/null @@ -1,28 +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; -} |