Pull out this predicate loop into a helper function.
[oota-llvm.git] / test / FrontendC / 2003-10-02-UnionLValueError.c
1 // RUN: %llvmgcc -S %s -o - | llvm-as -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