mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 13:18:15 +00:00
Change the testcase to not depend on the type of 'this' in the output.
GCC 4.9.2 and GCC 4.8.x have different opinions about that variable's type. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14780
This commit is contained in:
@@ -16,7 +16,7 @@ class magic {
|
||||
public:
|
||||
T xyzzy(T *p)
|
||||
{
|
||||
return (new abc::def<int,typeof(this)>)->xyzzy(p, 0);
|
||||
return (new abc::def<int,typeof(*this)>)->xyzzy(p, 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user