Commit 0e413243 authored by vladlosev's avatar vladlosev
Browse files

Fixes issue 286.

parent fbc266f0
......@@ -84,10 +84,9 @@ namespace foo {
// A user-defined unprintable type in a user namespace.
class UnprintableInFoo {
public:
UnprintableInFoo() : x_(0x12EF), y_(0xAB34), z_(0) {}
UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); }
private:
testing::internal::Int32 x_;
testing::internal::Int32 y_;
char xy_[8];
double z_;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment