aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/cpp/global_operators/main.cpp
blob: a0dd0787fa32048cf2af90b2337c445d48cbfc5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct Struct {
	int value;
};

bool operator==(const Struct &a, const Struct &b) {
	return a.value == b.value;
}

int main() {
	Struct s1, s2, s3;
	s1.value = 3;
	s2.value = 5;
	s3.value = 3;
	return 0; // break here
}