Fixes issue 286.
This commit is contained in:
parent
fbc266f0a4
commit
0e41324393
|
@ -84,10 +84,9 @@ namespace foo {
|
||||||
// A user-defined unprintable type in a user namespace.
|
// A user-defined unprintable type in a user namespace.
|
||||||
class UnprintableInFoo {
|
class UnprintableInFoo {
|
||||||
public:
|
public:
|
||||||
UnprintableInFoo() : x_(0x12EF), y_(0xAB34), z_(0) {}
|
UnprintableInFoo() : z_(0) { memcpy(xy_, "\xEF\x12\x0\x0\x34\xAB\x0\x0", 8); }
|
||||||
private:
|
private:
|
||||||
testing::internal::Int32 x_;
|
char xy_[8];
|
||||||
testing::internal::Int32 y_;
|
|
||||||
double z_;
|
double z_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user