git-svn-id: svn://ultimatepp.org/upp/trunk@8727 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-07-23 08:00:36 +00:00
parent 19b13dbb1a
commit 87e4f0f83e
3 changed files with 23 additions and 1 deletions

View file

@ -2,7 +2,8 @@ description "Assist tests - not to be compiled/run\377";
uses
CtrlLib,
Sql;
Sql,
TabBar;
file
main.cpp;

View file

@ -2,4 +2,5 @@
#define _Assist_icpp_init_stub
#include "CtrlLib/init"
#include "Sql/init"
#include "TabBar/init"
#endif

View file

@ -2,6 +2,7 @@
#include <Sql/Sql.h>
#include <vector>
#include <map>
#include <TabBar/TabBar.h>
using namespace std;
@ -270,6 +271,25 @@ struct JumpToTest {
int x; // test that this does not jump anywhere...
}
struct JumpBase {
void Foo();
};
struct JumpDerived {
void Foo() {
JumpBase::Foo(); // should jump to JumpBase
}
};
struct MYTabs : FileTabs {
void RenameFile(const WString &from, const WString &to, Image icon = Null);
};
void MYTabs::RenameFile(const WString &from, const WString &to, Image icon)
{
FileTabs::RenameFile(from, to, icon); // should jump tp FileTabs, not here
}
#endif
GUI_APP_MAIN