6c5ea5749c
Resolves: RHEL-30154
14 lines
436 B
Diff
14 lines
436 B
Diff
diff --git a/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C b/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
|
|
index 47f97dcb636..66f07aaa749 100644
|
|
--- a/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
|
|
+++ b/gcc/testsuite/g++.dg/warn/Wfree-nonheap-object-3.C
|
|
@@ -4,6 +4,8 @@
|
|
{ dg-do compile { target c++11 } }
|
|
{ dg-options "-O2 -Wall" } */
|
|
|
|
+#define _GLIBCXX_USE_CXX11_ABI 1
|
|
+
|
|
#include <memory>
|
|
#include <string>
|
|
|