mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
e38c61597e
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130995 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
356 B
C
16 lines
356 B
C
// RUN: %llvmgcc -O2 -S -g %s -o - | llc -disable-cfi -o 2010-01-05-LinkageName.s -O0
|
|
// RUN: %compile_c 2010-01-05-LinkageName.s -o 2010-01-05-LinkageName.s
|
|
|
|
struct tm {};
|
|
long mktime(struct tm *) __asm("_mktime$UNIX2003");
|
|
tzload(name, sp, doextend){}
|
|
long mktime(tmp)
|
|
struct tm *const tmp;
|
|
{
|
|
tzset();
|
|
}
|
|
timelocal(tmp) {
|
|
return mktime(tmp);
|
|
}
|
|
|