www.digitalmars.com         C & C++   DMDScript  

c++ - C++ tests: not passed

hi i've maked some tests to know if dmc supports feauteres that i need for
my framework

t1 : pass
t2 : not sure it's permitted by c++ specs, not pass
t3 : not pass (output doesn't match expected output included at end of file,
the c++ spec permit the expected output?)

i like to know if i'm on the wrong way (specs don't permit some of things)
or if simply there isn't compilers around that support c++ spec features,
i've tryed bcc32 5.5 5.6(borland c++ builder 6) gcc  3.2.3(mingw) vcc++ 6
vcc++ 7.net
in future this features will be supported in dmc??

Michele


begin 666 t1.cpp

M8FQI8SH-" D)5"!M96UB.PT*?3L-" T*:6YT(&UA:6XH*0T*>PT*"71E<W0Q
A/'1E<W0Q/&EN=#X /B!O.PT*"7)E='5R;B P.PT*?0T*
`
end

begin 666 t2.cpp



M"0D)<')I;G1F*")T96UP;&%T92!T;65T/#Y
M871E/#X-" D)=F]I9"!T;65T/'1R=64^*"D-" D)>PT*"0D)<')I;G1F*")T

M"79O:60 =&UE=#QF86QS93XH

M"7L-" D)"7!R:6YT9B B=&UE=" I7&XB*3L-" D)"71E;7!L871E('1M970\
M9FQA9SXH*3L-" D)?0T*?3L-" T*:6YT(&UA:6XH*0T*>PT*"71E<W0R/&-H


!" ``
`
end

begin 666 t3.cpp


M871O<CL-" T*=F]I9"H ;W!E<F%T;W( ;F5W*'-I>F5?="!S*0T*>PT*"7!R
M:6YT9B B.CIO<&5R871O<B!N97<H<VEZ95]T(',I7&XB*3L-" ER971U<FX 
M;6%L;&]C*',I.PT*?0T*=F]I9"H ;W!E<F%T;W( ;F5W*'-I>F5?="!S+&%L
M;&]C871O<B!A*0T*>PT*"7!R:6YT9B B.CIO<&5R871O<B!N97<H<VEZ95]T
M(',L86QL;V-A=&]R(&$I7&XB*3L-" ER971U<FX ;6%L;&]C*',I.PT*?0T*


M8RAS*3L-"GT-"G9O:60J(&]P97)A=&]R(&YE=UM=*'-I>F5?="!S+&%L;&]C
M871O<B!A*0T*>PT*"7!R:6YT9B B.CIO<&5R871O<B!N97=;72AS:7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1F*")T97-T9&5R



M>PT*"0D)<')I;G1F*")T97-T9&5R:78Z.F-T;W(H)60I7&XB+' I.PT*"0E]



M*0T*"7L-" D)<')I;G1F*")T97-T9&5R:79A<G)A>3HZ8W1O<B I($580T50




M<W1D97)I=B Q*3L-" D)9&5L971E('!O.PT*"7T-" EC871C:"AI;G0 :6=N



M=B Q*3L-" D)9&5L971E('!O.PT*"7T-" EC871C:"AI;G0 :6=N;W)E*0T*




M" T*"7!R:6YT9B B7&XB*3L-" T*"71R>0T*"7L-" D)<&\ /2!N97<H9VQO



M" D)9&5L971E6UT <&]A.PT*"7T-" EC871C:"AI;G0 :6=N;W)E*0T*"7M]

M;&]B86QA;&QO8V%T;W(I('1E<W1D97)I=F%R<F%Y6S-=.PT*"0ED96QE=&5;




M96QE=&4H=F]I9"H <"QS:7IE7W0 <RD-" T*=&5S=&1E<FEV.CIO<&5R871O



M<RQA;&QO8V%T;W( 82D-"G1E<W1D97)I=CHZ8W1O<B Q*2!%6$-%4%1)3TX-
M"G1E<W1D97)I=CHZ;W!E<F%T;W( 9&5L971E*'9O:60J(' L<VEZ95]T(',L


M:78Z.F1T;W(H*0T*=&5S=&1E<FEV.CIO<&5R871O<B!D96QE=&4H=F]I9"H 
M<"QS:7IE7W0 <RD-" T*=&5S=&1E<FEV.CIO<&5R871O<B!N97=;72AS:7IE


M:78Z.F1T;W(H*0T*=&5S=&1E<FEV.CID=&]R*"D-"G1E<W1D97)I=CHZ;W!E
M<F%T;W( 9&5L971E6UTH=F]I9"H <"QS:7IE7W0 <RD-" T*=&5S=&1E<FEV
M.CIO<&5R871O<B!N97=;72AS:7IE7W0 <RQA;&QO8V%T;W( 82D-"G1E<W1D


M=&5S=&1E<FEV.CID=&]R*"D-"G1E<W1D97)I=CHZ;W!E<F%T;W( 9&5L971E
M6UTH=F]I9"H <"QS:7IE7W0 <RD-" T*=&5S=&1E<FEV87)R87DZ.F]P97)A
M=&]R(&YE=UM=*'-I>F5?="!S*0T*=&5S=&1E<FEV87)R87DZ.F-T;W(H*2!%
M6$-%4%1)3TX-"G1E<W1D97)I=F%R<F%Y.CIO<&5R871O<B!D96QE=&5;72AV


M8W1O<B I($580T505$E/3 T*=&5S=&1E<FEV87)R87DZ.F]P97)A=&]R(&1E

`
end
Sep 08 2003