Mercurial > projects > dstress
annotate run/__TIME__01.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 1013f6410987 |
children |
rev | line source |
---|---|
303
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
2 // $Date$ |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
3 // $Author$ |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
4 |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
5 module dstress.run.__TIME__01; |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
6 |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
7 int main(){ |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
8 assert(__TIME__.length==8); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
9 assert(__TIME__[2]==':'); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
10 assert(__TIME__[5]==':'); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
11 return 0; |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
12 } |