annotate nocompile/InExpression_16.d @ 180:da000f026b76

1) added InExpression tests 2) added passed/failed explanations to the summary page
author thomask
date Tue, 07 Dec 2004 12:04:08 +0000
parents
children f87ba6507260
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
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
7 module dstress.nocompile.InExpression_16;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
8
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
9 struct MyStruct{
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
10 char c = 'c';
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
11 }
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
12
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
13 int main(){
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
14 MyStruct object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
15
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
16 void* ptr = 'c' in object;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
17
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
18 return 0;
da000f026b76 1) added InExpression tests
thomask
parents:
diff changeset
19 }