[libcxx] r300132 - Fix test failures with older Clang versions
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 12 16:17:17 PDT 2017
Author: ericwf
Date: Wed Apr 12 18:17:17 2017
New Revision: 300132
URL: http://llvm.org/viewvc/llvm-project?rev=300132&view=rev
Log:
Fix test failures with older Clang versions
Modified:
libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter.pass.cpp
libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter.pass.cpp
Modified: libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter.pass.cpp?rev=300132&r1=300131&r2=300132&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.observers/get_deleter.pass.cpp Wed Apr 12 18:17:17 2017
@@ -18,6 +18,8 @@
#include "test_macros.h"
struct Deleter {
+ Deleter() {}
+
void operator()(void*) const {}
int test() { return 5; }
Modified: libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter.pass.cpp?rev=300132&r1=300131&r2=300132&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.observers/get_deleter.pass.cpp Wed Apr 12 18:17:17 2017
@@ -18,6 +18,8 @@
#include "test_macros.h"
struct Deleter {
+ Deleter() {}
+
void operator()(void*) const {}
int test() { return 5; }
More information about the cfe-commits
mailing list