annotate nocompile/InExpression_17.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
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__ 17
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_17;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
10
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
11 enum MyEnum : char{
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
12 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 MyEnum object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
17 void* ptr = 'c' in object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
18 return 0;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
19 }