• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
PointPoint17     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 
main(int argc,const char * argv[])23 int main (int argc, const char * argv[])
24 {
25     return 0; // Set break point at this line.
26 }
27 
28