llvm-6502/test/CFrontend/2003-10-02-UnionLValueError.c
Chris Lattner 44ae86aaf9 Checkin new file, reduced by Brian
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8820 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-02 18:26:11 +00:00

10 lines
115 B
C

union U{
int i[8];
char s[80];
};
void format_message(char *buffer, union U *u) {
sprintf(buffer, u->s);
}