emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests fb82965 136/316: Test `this' fro


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests fb82965 136/316: Test `this' from in inline member functions
Date: Sat, 28 Jan 2017 09:09:54 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit fb82965eefbeadb060c0a75310c1560104c00fe9
Author: David Engster <address@hidden>
Commit: Edward John Steere <address@hidden>

    Test `this' from in inline member functions
    
    * tests/cedet/semantic/test/manual/cedet/testsubclass.cpp: Add test
     for 'this' in inline member function.
---
 .../cedet/cedet/semantic/tests/testsubclass.cpp       |   17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp 
b/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
index ede4b37..68d48e8 100644
--- a/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
+++ b/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
@@ -210,21 +210,21 @@ int otherFunction()
 
 bool sneaky::antelope::testAccess() //^7^
 {
-  this.// -12-
+  this->// -12-
     // #12# ( "fAntyPrivate" "fAntyProtected" "fAntyPublic" "fQuadProtected" 
"fQuadPublic" "testAccess" )
     ;
 }
 
 bool sneaky::jackalope::testAccess() //^8^
 {
-  this.// -13-
+  this->// -13-
     // #13# ( "fBunnyPrivate" "fBunnyProtected" "fBunnyPublic" 
"fQuadProtected" "fQuadPublic" "testAccess" )
     ;
 }
 
 bool sneaky::bugalope::testAccess() //^9^
 {
-  this.// -14-
+  this->// -14-
     // #14# ( "fBugPrivate" "fBugProtected" "fBugPublic" "fQuadPublic" 
"testAccess" )
     ;
 }
@@ -238,3 +238,14 @@ namespace deer {
   {
   }
 }
+
+// Test 'this' in inline methods
+// See rev. 8488f.
+class outer {
+  int asdf;
+  int qwer;
+  char inlineMethod(void) {
+    this->// -16-
+      // #16# ( "asdf" "inlineMethod" "qwer" )
+  }
+};



reply via email to

[Prev in Thread] Current Thread [Next in Thread]