aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/data-formatter/summary-string-onfail/main.cpp
blob: 0f42f9d1c88e7afb5cfc2ceaa226d0949e084865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>

struct contained
{
    int first;
    int second;
};

struct container
{
    int scalar;
    struct contained *pointer;
};

int main ()
{
    struct container mine = {1, 0};
    printf ("Mine's scalar is the only thing that is good: %d.\n", mine.scalar); // Set break point at this line.
    return 0;
}