llvm-project/lldb/test/functionalities/data-formatter/data-formatter-globals/main.cpp

28 lines
646 B
C++

//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
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.
}