aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2010-01-05-LinkageName.c
blob: 9c1a2155032d243c6c7032d465c4ea8d461d4c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %llvmgcc -O2 -S -g %s -o - | llc -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);
}