1 //===-- main.cpp ------------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #include <stdio.h>
10 
11 struct foo
12 {
13     int first;
14     int second;
15 };
16 
17 int main ()
18 {
19     struct foo mine = {0x001122AA, 0x1122BB44};
20     printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
21 	mine.first = 0xAABBCCDD; // Set break point at this line.
22     printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
23 	mine.second = 0xFF00FF00;
24     printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
25     return 0;
26 }
27 
28