Mercurial > projects > dstress
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/InExpression_16.d Tue Dec 07 12:04:08 2004 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// only associative arrays support the InExpression + +module dstress.nocompile.InExpression_16; + +struct MyStruct{ + char c = 'c'; +} + +int main(){ + MyStruct object; + + void* ptr = 'c' in object; + + return 0; +}