Mercurial > projects > dstress
annotate run/__TIMESTAMP__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.__TIMESTAMP__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(__TIMESTAMP__.length==24); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
9 assert(__TIMESTAMP__[3]==' '); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
10 assert(__TIMESTAMP__[7]==' '); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
11 assert(__TIMESTAMP__[10]==' '); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
12 assert(__TIMESTAMP__[19]==' '); |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
13 return 0; |
1013f6410987
added __DATE__, __FILE__, __LINE__, __TIMESTAMP__ and __TIME tests
thomask
parents:
diff
changeset
|
14 } |