PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git] / test / FrontendC / 2003-10-02-UnionLValueError.c
blob2ded0c64b42e0b0a535776d328212c3105707d27
1 // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
3 #include <stdio.h>
5 union U{
6 int i[8];
7 char s[80];
8 };
10 void format_message(char *buffer, union U *u) {
11 sprintf(buffer, u->s);