[Issue 1118] weird switch statement behaviour

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 9 16:06:34 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1118


shro8822 at uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shro8822 at uidaho.edu




------- Comment #1 from shro8822 at uidaho.edu  2007-04-09 18:06 -------
What about cases like this:

switch(i)
{
 while(i)
 {
  foo();
  case 0: bar();
  case 1: baz();
  case 3: i--;
 }
}


-- 



More information about the Digitalmars-d-bugs mailing list