Mercurial > projects > dstress
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 |
rev | line source |
---|---|
180 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // only associative arrays support the InExpression | |
6 | |
374 | 7 // __DSTRESS_ELINE__ 17 |
8 | |
180 | 9 module dstress.nocompile.InExpression_17; |
10 | |
11 enum MyEnum : char{ | |
12 c = 'c' | |
13 } | |
14 | |
15 int main(){ | |
16 MyEnum object; | |
17 void* ptr = 'c' in object; | |
18 return 0; | |
19 } |