From be780f48125c6c0301f2bdfb062470a53044b632 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 15 Jul 2019 21:05:14 +0200 Subject: [PATCH] Fix initialization of array, fixes test. --- test/Prompt/ValuePrinter/Destruction.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Prompt/ValuePrinter/Destruction.C b/test/Prompt/ValuePrinter/Destruction.C index b118d3ab..5eb2bf69 100755 --- a/test/Prompt/ValuePrinter/Destruction.C +++ b/test/Prompt/ValuePrinter/Destruction.C @@ -14,7 +14,7 @@ extern "C" int printf(const char*,...); class A { - int m_A[2] = 0; + int m_A[2] = {}; public: A() {} ~A() { printf("A::~A()\n"); }