mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00
24 lines
514 B
C++
24 lines
514 B
C++
//===-- main.cpp ------------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
int main() {
|
|
union {
|
|
int i;
|
|
char c;
|
|
};
|
|
struct {
|
|
int x;
|
|
char y;
|
|
short z;
|
|
} s{3,'B',14};
|
|
i = 0xFFFFFF00;
|
|
c = 'A';
|
|
return c; // break here
|
|
}
|