Sign in
ara-mdk
/
platform
/
external
/
llvm
/
770772e831d1ff1dfbc0e94fb3212437e597d7a5
/
.
/
test
/
FrontendC
/
2003-10-02-UnionLValueError.c
blob: a4d17a4a0ba5e0061abd3943ddcda297c6658f5e [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
#include
<stdio.h>
union
U
{
int
i
[
8
];
char
s
[
80
];
};
void
format_message
(
char
*
buffer
,
union
U
*
u
)
{
sprintf
(
buffer
,
u
->
s
);
}