Mercurial > projects > dstress
view nocompile/offsetof_06.d @ 1562:539ede0215a4
r8715@birke: tk | 2007-09-29 23:52:45 +0200
[Issue 1534] Can't mix in a case statement.
<aziz.kerim@gmail.com>
2007-09-26
http://d.puremagic.com/issues/show_bug.cgi?id=1534
author | thomask |
---|---|
date | Sun, 30 Sep 2007 09:44:14 +0000 |
parents | ec5f4198256b |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // functions are no member fields // __DSTRESS_ELINE__ 21 module dstress.nocompile.offsetof_06; class MyClass{ int a; void test(){ } int b; } int main(){ MyClass o = new MyClass(); assert(MyClass.test.offsetof >= 0); return 0; }