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:
parent
a2facc29fa
commit
28d0d546c0
1 changed files with 0 additions and 46 deletions
|
@ -1406,49 +1406,3 @@ void test::setI(int i)
|
||||||
|
|
||||||
#endif /* TEST_H_ */
|
#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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue