diff --git a/flang/unittests/Runtime/external-hello.cpp b/flang/unittests/Runtime/external-hello.cpp --- a/flang/unittests/Runtime/external-hello.cpp +++ b/flang/unittests/Runtime/external-hello.cpp @@ -13,9 +13,11 @@ IONAME(OutputReal64)(io, 0.0); IONAME(OutputReal64)(io, 2.0 / 3.0); IONAME(OutputReal64)(io, 1.0e99); +#ifndef _MSC_VER IONAME(OutputReal64)(io, 1.0 / 0.0); IONAME(OutputReal64)(io, -1.0 / 0.0); IONAME(OutputReal64)(io, 0.0 / 0.0); +#endif IONAME(OutputComplex64)(io, 123.0, -234.0); IONAME(OutputLogical)(io, false); IONAME(OutputLogical)(io, true);