diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp')
-rw-r--r-- | packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp deleted file mode 100644 index a888c3f6c557..000000000000 --- a/packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp +++ /dev/null @@ -1,33 +0,0 @@ -class Bool { -public: - Bool operator&(const Bool other) - { - Bool result; - result.value = value && other.value; - return result; - } - - bool value; -}; - -bool get(Bool object) -{ - return object.value; -} - -Bool set(bool value) -{ - Bool result; - result.value = value; - return result; -} - -int main() -{ - Bool t = set(true); - Bool f = set(false); - get(t); - get(f); - get(t & f); - return 0; // break here -} |