]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - packages/Python/lldbsuite/test/functionalities/data-formatter/user-format-vs-summary/main.cpp
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / packages / Python / lldbsuite / test / functionalities / data-formatter / user-format-vs-summary / 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 struct Pair {
11         int x;
12         int y;
13         
14         Pair(int _x, int _y) : x(_x), y(_y) {}  
15 };
16
17 int main() {
18         Pair p1(3,-3);
19         return p1.x + p1.y; // Set break point at this line.
20 }