view compile/o/opEquals_06_F.d @ 1599:d37b19f7e8bb

Move run/c/case_01 to nocompile.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 17:28:31 +0200
parents daef239f37cf
children
line wrap: on
line source

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

// @author@	Nazo Humei <lovesyao@hotmail.com>
// @date@	2006-11-04
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=479
// @desc@	[Issue 479] New: can't compare arrayliteral statically with string

module dstress.compile.o.opEquals_06_F;

const char[] str = "abcd";

static if(['a','b','c','d'] == str){
	// OK
}else{
	static assert(0);
}