view nocompile/bug_20041203_A.d @ 1622:d402aa53926c

Add test for bug 3092 written by Manuel K?nig
author Leandro Lucarella <llucax@gmail.com>
date Tue, 19 Oct 2010 19:18:23 -0300
parents d3a3e0c251d8
children
line wrap: on
line source

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

// @author@	Geoff Hickey <Geoff_member@pathlink.com>
// @date@	2004-12-03
// @uri@	news:coodc7$27qp$1@digitaldaemon.com
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2431

module dstress.nocompile.bug_20041203_A;

struct MyStruct{
	uint i;
}

int main(){
	MyStruct s;
	s.i = 1;

	switch( s.i ){
		case undefined_identifier:
			break;
	}

	return 0;
}