summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp
blob: 97804202639e52d950a115e9c9b6a1e409440783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//===-- 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>

struct foo
{
    int first;
    int second;
};

int main ()
{
    struct foo mine = {0x001122AA, 0x1122BB44};
	mine.first = 0xAABBCCDD; // Set break point at this line.
	mine.second = 0xFF00FF00;
    return 0;
}

OpenPOWER on IntegriCloud