diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
| commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
| tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test/lang/cpp/chained-calls/main.cpp | |
| parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) | |
Notes
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 -} |
