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 int main() {
10   union {
11     int i;
12     char c;
13   };
14   struct {
15     int x;
16     char y;
17     short z;
18   } s{3,'B',14};
19   i = 0xFFFFFF00;
20   c = 'A';
21   return c; // break here
22 }
23