view nocompile/static_10.d @ 1530:1665114e9a64

[Issue 1177] $ no longer works inside CTFE functions. Don Clugston <clugdbug@yahoo.com.au> 2007-04-23 http://d.puremagic.com/issues/show_bug.cgi?id=1177
author thomask
date Fri, 27 Apr 2007 17:33:23 +0000
parents f87ba6507260
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// __DSTRESS_ELINE__ 13

module dstress.nocompile.static_10;

class MyClass{
	int status;
	
	static void check(){
		this.status++;
	}
}

int main(){
	MyClass c = new MyClass();
	return 0;
}