Test: int_overflow.cpp int_overflow.cpp:27:2: error: expected '}' at end of input 27 | } | ^ int_overflow.cpp:4:23: note: to match this '{' 4 | class PriceCalculator { | ^ int_overflow.cpp: In member function 'long long int PriceCalculator::calculateTotal(int, int)': int_overflow.cpp:9:41: error: a function-definition is not allowed here before '{' token 9 | void printOrder(int price, int qty) { | ^ int_overflow.cpp: In member function 'int PriceCalculator::main()': int_overflow.cpp:19:10: error: 'class PriceCalculator' has no member named 'printOrder' 19 | calc.printOrder(10, 5); | ^~~~~~~~~~ int_overflow.cpp:22:10: error: 'class PriceCalculator' has no member named 'printOrder' 22 | calc.printOrder(100000, 50000); // 5 billion - overflows int! | ^~~~~~~~~~ int_overflow.cpp: At global scope: int_overflow.cpp:27:2: error: expected unqualified-id at end of input 27 | } | ^