annotate nocompile/InExpression_16.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 f87ba6507260
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
180
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
1 // $HeadURL$
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
2 // $Date$
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
3 // $Author$
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
4
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
5 // only associative arrays support the InExpression
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
6
374
f87ba6507260 added missing meta-data
thomask
parents: 180
diff changeset
7 // __DSTRESS_ELINE__ 18
f87ba6507260 added missing meta-data
thomask
parents: 180
diff changeset
8
180
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
9 module dstress.nocompile.InExpression_16;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
10
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
11 struct MyStruct{
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
12 char c = 'c';
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
13 }
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
14
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
15 int main(){
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
16 MyStruct object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
17
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
18 void* ptr = 'c' in object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
19
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
20 return 0;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
21 }