Same reason as in 548dbfaf447cc5fdfc26d34e60e3da08eb609531 -> macOS has a struct called 'Point' in the libc module. Just remove the redundant includes here.
15 lines
244 B
C++
15 lines
244 B
C++
struct Point {
|
|
int x;
|
|
int y;
|
|
Point(int X = 3, int Y = 2) : x(X), y(Y) {}
|
|
};
|
|
|
|
Point g_point(3,4);
|
|
Point* g_point_pointer = new Point(7,5);
|
|
|
|
int main (int argc, const char * argv[])
|
|
{
|
|
return 0; // Set break point at this line.
|
|
}
|
|
|