]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/main.cpp
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / functionalities / data-formatter / data-formatter-globals / main.cpp
1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <stdint.h>
13
14 struct Point {
15     int x;
16     int y;
17     Point(int X = 3, int Y = 2) : x(X), y(Y) {}
18 };
19
20 Point g_point(3,4);
21 Point* g_point_pointer = new Point(7,5);
22
23 int main (int argc, const char * argv[])
24 {
25     return 0; // Set break point at this line.
26 }
27