changeset 353:0eb25b549476

fixed precedence problem Walter <walter@digitalmars.com> 2005-03-22 mail:008901c52ec3$f6857910$0200a8c0@colossus
author thomask
date Tue, 22 Mar 2005 11:41:47 +0000
parents e31fca2c8852
children 6aaba08b3ca2
files run/bug_todt_194_B.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/run/bug_todt_194_B.d	Tue Mar 22 08:59:08 2005 +0000
+++ b/run/bug_todt_194_B.d	Tue Mar 22 11:41:47 2005 +0000
@@ -9,7 +9,7 @@
 module dstress.run.bug_todt_194_B;
 
 int main(){
-	assert(new MyStruct!().i==int.sizeof);
+	assert((new MyStruct!()).i==int.sizeof);
 	return 0;
 }