Mercurial > emacs
view test/cedet/tests/testnsp.cpp @ 112278:ef719132ddfa
Nuke arch-tags.
| author | Glenn Morris <rgm@gnu.org> |
|---|---|
| date | Sat, 15 Jan 2011 15:16:57 -0800 |
| parents | 7f4c7f5c0eba |
| children |
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" ) }
