repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
FrontendC
/
2010-01-05-LinkageName.c
blob
9c1a2155032d243c6c7032d465c4ea8d461d4c60
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
3
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
;
9
{
10
tzset
();
11
}
12
timelocal
(
tmp
) {
13
return
mktime
(
tmp
);
14
}
15