Fixed some bugs.
[llvm/zpu.git] / test / FrontendC / 2010-01-05-LinkageName.c
blob9c1a2155032d243c6c7032d465c4ea8d461d4c60
1 // RUN: %llvmgcc -O2 -S -g %s -o - | llc -o 2010-01-05-LinkageName.s -O0
2 // RUN: %compile_c 2010-01-05-LinkageName.s -o 2010-01-05-LinkageName.s
4 struct tm {};
5 long mktime(struct tm *) __asm("_mktime$UNIX2003");
6 tzload(name, sp, doextend){}
7 long mktime(tmp)
8 struct tm *const tmp;
10 tzset();
12 timelocal(tmp) {
13 return mktime(tmp);