]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / lang / cpp / global_operators / main.cpp
1 struct Struct {
2         int value;
3 };
4
5 bool operator==(const Struct &a, const Struct &b) {
6         return a.value == b.value;
7 }
8
9 int main() {
10         Struct s1, s2, s3;
11         s1.value = 3;
12         s2.value = 5;
13         s3.value = 3;
14         return 0; // break here
15 }
16