www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DMD 0.175 dmd.exe crash

reply Boris Kolar <boris.kolar globera.com> writes:
This code crashes the compiler (Visual Studio Just-In-Time
Debugger: An unhandled win32 exception occured in dmd.exe [1848]...):

struct Foo(T) {}

int main(char[][] args) {
	if ((Foo!(char)).init == (Foo!(char)).init) return 1;
	return 0;
}
Nov 26 2006
parent Stewart Gordon <smjg_1998 yahoo.com> writes:
Boris Kolar wrote:
 This code crashes the compiler (Visual Studio Just-In-Time
 Debugger: An unhandled win32 exception occured in dmd.exe [1848]...):
 
 struct Foo(T) {}
 
 int main(char[][] args) {
 	if ((Foo!(char)).init == (Foo!(char)).init) return 1;
 	return 0;
 }

Bug reports belong on digitalmars.D.bugs, or even better, on Bugzilla. http://d.puremagic.com/issues/ Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++ a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Nov 26 2006