Mercurial > projects > dstress
changeset 1183:95444069a9c3
name shadowing in if statement
BCS <fubar@pathlink.com>
2006-10-07
news:eg95k2$27pi$1@digitaldaemon.com
author | thomask |
---|---|
date | Thu, 12 Oct 2006 15:00:58 +0000 |
parents | 6e5d377573e1 |
children | 04624d579af6 |
files | nocompile/i/if_15_A.d |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/i/if_15_A.d Thu Oct 12 15:00:58 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ BCS <fubar@pathlink.com> +// @date@ 2006-10-07 +// @uri@ news:eg95k2$27pi$1@digitaldaemon.com +// @desc@ name shadowing in if statement + +// __DSTRESS_ELINE__ 17 + +module dstress.nocompile.i.if_15_A; + +void foo(){ + int i; + + if(int i = 1){ + } +}