aboutsummaryrefslogtreecommitdiff
path: root/flang/unittests/Runtime/LogicalFormatTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'flang/unittests/Runtime/LogicalFormatTest.cpp')
-rw-r--r--flang/unittests/Runtime/LogicalFormatTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/flang/unittests/Runtime/LogicalFormatTest.cpp b/flang/unittests/Runtime/LogicalFormatTest.cpp
index c4fbfc8..26c9374 100644
--- a/flang/unittests/Runtime/LogicalFormatTest.cpp
+++ b/flang/unittests/Runtime/LogicalFormatTest.cpp
@@ -23,7 +23,7 @@ TEST(IOApiTests, LogicalFormatTest) {
char buffer[bufferSize];
// Create format for all types and values to be written
- const char *format{"(L,L3,I3,L2,L2,I3,L2,A3,L2,L,F4.1,L2)"};
+ const char *format{"(L0,L3,I3,L2,L2,I3,L2,A3,L2,L,F4.1,L2)"};
auto cookie{IONAME(BeginInternalFormattedOutput)(
buffer, bufferSize, format, std::strlen(format))};