repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2003-10-02-UnionLValueError.c
blob
2ded0c64b42e0b0a535776d328212c3105707d27
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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