From c24c88622533576a4b0085764358d0f5d4f7319a Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 19 Jun 2015 07:43:09 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@8560 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/Assist/main.cpp | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/upptst/Assist/main.cpp b/upptst/Assist/main.cpp index 7584dcfb5..eb17a92b8 100644 --- a/upptst/Assist/main.cpp +++ b/upptst/Assist/main.cpp @@ -4,49 +4,66 @@ // Each test in separate function to activate grounding -void Test() +void Autocomplete() { String x; // Should not show anything here - qualification missing x. } -void Test() +void Autocomplete() { Upp::String x; x. } +void Autocomplete() +{ + Upp::MD5String +} + using namespace Upp; -void Test() +void Autocomplete() +{ + MD5String +} + +void Autocomplete() { String h; h. } -void Test() +void Autocomplete() { One()-> } -void Test() +void Autocomplete() { Single()-> } -void Test() +void Autocomplete() { EditDouble x; x.HSizePos(). } -void Test() +void Autocomplete() { EditDouble x; x.SetFilter(Char } +void JumpTo() +{ + Point p; + int x; + p.x // should jump to Point::x, not local variable +} + #endif GUI_APP_MAIN