Commit f5fe20ef authored by hjk's avatar hjk Committed by hjk

debugger: add a pointer to global data to manual test

Change-Id: I6ebb0058f5c1717c2dd4224107d25544005a3116
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 30ab7ea0
......@@ -4965,16 +4965,19 @@ namespace basic {
void testFunctionPointerHelper() {}
static int someData;
void testFunctionPointer()
{
typedef void (*func_t)();
func_t f2 = testFunctionPointerHelper;
int *p = &someData;
BREAK_HERE;
// CheckType f2 basic::func_t.
// Continue.
// Check there's a valid display for f2.
dummyStatement(&f2);
dummyStatement(&f2, p);
}
void testPassByReferenceHelper(Foo &f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment