Mercurial > emacs
view test/cedet/tests/testnsp.cpp @ 111421:ac911360c429
Minor emerge changes.
* lisp/vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
with with-current-buffer.
(diff, template): Give dynamic local variables a prefix.
(emerge-line-numbers): Rename local `diff' to emerge-line-diff.
(emerge-line-number-in-buf): Update for above name change.
(emerge-combine-versions-internal): Rename local `template' to
emerge-combine-template.
(emerge-combine-versions-edit): Update for above name change.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 06 Nov 2010 11:51:11 -0700 |
parents | 7f4c7f5c0eba |
children | ef719132ddfa |
line wrap: on
line source
// Test NSP (Name space parent) // // Test dereferencing parents based on local parent scope. // // Derived from data David Engster provided. namespace nsp { class rootclass { public: int fromroot() {}; }; } namespace nsp { class childclass : public rootclass { public: int fromchild() {}; }; } void myfcn_not_in_ns (void) { nsp::childclass test; test.// -1- ; // #1# ( "fromchild" "fromroot" ) } // arch-tag: 2e9c6bf7-1574-440f-ba66-5c8fe034cdec