Originaly reported by BCS <ao@pathlink.com> in news:ce0a334389688c93c3bbfaa07d6@news.digitalmars.com : # void main(char[][] argv) # { # switch("#!") # { # case "#!": writef("----Found #!\n"); break; # case "\xFF\xFE"c: break; # default: writef("----Found ASCII\n"); break; # } # } # # On dmd 1.009 linux and win32 this prints "----Found ASCII". Drop the middle # case and it prints "----Found #!". Added to DStress as http://dstress.kuehne.cn/run/s/switch_24_A.d http://dstress.kuehne.cn/run/s/switch_24_B.d http://dstress.kuehne.cn/run/s/switch_24_C.d
Fixed DMD 1.013
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル