brintos

brintos / llvm-project-archived public Read only

0
0
Text · 206 B · a60be84 Raw
17 lines · cpp
1struct Pair {2	int x;3	int y;4	5	Pair(int _x, int _y) : x(_x), y(_y) {}	6};7 8int addPair(Pair p)9{10	return p.x + p.y; // Set break point at this line.11}12 13int main() {14	Pair p1(3,-3);15	return addPair(p1);16}17