1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 319111 - revert test patch - not working yet

This commit is contained in:
Alena Laskavaia 2010-08-19 01:00:25 +00:00
parent a2facc29fa
commit 28d0d546c0

View file

@ -1406,49 +1406,3 @@ void test::setI(int i)
#endif /* TEST_H_ */
//!Bug 319111 - Generate getters and setters fails on complex field types
//#org.eclipse.cdt.ui.tests.refactoring.gettersandsetters.GenerateGettersAndSettersTest
//@.config
filename=Test.h
//@Test.h
class X {
int (*(*/*$*/funcptr/*$$*/)())[2];
public:
X();
};
//=
typedef int (*(*funcptrType)())[2];
class X {
int (*(*funcptr)())[2];
public:
X();
funcptrType getFuncptr() const;
void setFuncptr(funcptrType funcptr);
};
//@Test.cpp
X::X(){
}
//=
X::X(){
}
funcptrType X::getFuncptr() const
{
return funcptr;
}
void X::setFuncptr(funcptrType funcptr)
{
this->funcptr = funcptr;
}