llvm-project/llvm/test/CFrontend/2002-07-14-MiscTests2.c

14 lines
185 B
C
Raw Normal View History

2004-11-07 06:41:00 +08:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
// Test ?: in function calls
extern fp(int, char*);
char *Ext;
void
__bb_exit_func (void)
{
fp (12, Ext ? Ext : "<none>");
}