You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
231 B
12 lines
231 B
4 months ago
|
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
|
||
|
|
||
|
int sprintf(char * restrict str, const char * restrict format, ...);
|
||
|
union U{
|
||
|
int i[8];
|
||
|
char s[80];
|
||
|
};
|
||
|
|
||
|
void format_message(char *buffer, union U *u) {
|
||
|
sprintf(buffer, u->s);
|
||
|
}
|