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>
11struct Summarize
12{
13    int first;
14    int second;
15};
16
17typedef Summarize summarize_t;
18typedef summarize_t *summarize_ptr_t;
19
20summarize_t global_mine = {30, 40};
21
22int
23main()
24{
25    summarize_t mine = {10, 20};
26    summarize_ptr_t mine_ptr = &mine;
27    printf ("Summarize: first: %d second: %d and address: 0x%p\n", mine.first, mine.second, mine_ptr); // Set break point at this line.
28    printf ("Global summarize: first: %d second: %d.\n", global_mine.first, global_mine.second);
29    return 0;
30}
31