1 // RUN: %llvmgcc -O2 -S -g %s -o - | llc -disable-cfi -o 2010-01-05-LinkageName.s -O0 2 // RUN: %compile_c 2010-01-05-LinkageName.s -o 2010-01-05-LinkageName.s 3 4 struct tm {}; 5 long mktime(struct tm *) __asm("_mktime$UNIX2003"); tzload(name,sp,doextend)6tzload(name, sp, doextend){} mktime(tmp)7long mktime(tmp) 8 struct tm *const tmp; 9 { 10 tzset(); 11 } timelocal(tmp)12timelocal(tmp) { 13 return mktime(tmp); 14 } 15 16