repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix test to not get a moduleid that matches 'br'
[llvm/avr.git]
/
test
/
FrontendC
/
2003-10-02-UnionLValueError.c
blob
a4d17a4a0ba5e0061abd3943ddcda297c6658f5e
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
#include <stdio.h>
4
5
union
U
{
6
int
i
[
8
];
7
char
s
[
80
];
8
};
9
10
void
format_message
(
char
*
buffer
,
union
U
*
u
) {
11
sprintf
(
buffer
,
u
->
s
);
12
}
13