1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC/2010-01-05-LinkageName.c
Rafael Espindola 2534f45206 Pass -disable-cfi.
llvm-svn: 130995
2011-05-06 17:44:58 +00:00

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);
}