☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2003-10-02-UnionLValueError.c
☽
☼
clang/test/CodeGen/2003-10-02-UnionLValueError.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
int sprintf(char * restrict str, const char * restrict format, ...);
4
union U{
5
int i[8];
6
char s[80];
7
};
8
9
void format_message(char *buffer, union U *u) {
10
sprintf(buffer, u->s);
11
}