brintos

brintos / llvm-project-archived public Read only

0
0
Text · 231 B · 180eb10 Raw
12 lines · c
1// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null2 3int sprintf(char * restrict str, const char * restrict format, ...);4union U{5  int i[8];6  char s[80];7};8 9void format_message(char *buffer, union U *u) {10  sprintf(buffer, u->s);11}12