llvm-6502/test/CodeGen/CBackend/2007-01-06-Signless.c

7 lines
157 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as | llc -march=c | \
// RUN: grep '(unsigned short'
int Z = -1;
int test(unsigned short X, short Y) { return X+Y+Z; }