Mercurial > emacs
view test/cedet/tests/scopetest.cpp @ 107467:f0ec21d379ff
* finder.el: Remove TODO tasks.
* info.el (Info-finder-find-node): Add node "all"
with all package info. Handle a list of multiple keywords
separated by comma.
(info-finder): In interactive use with a prefix argument,
use `completing-read-multiple' to read a list of keywords
separated by comma.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Tue, 23 Mar 2010 09:11:50 +0200 |
parents | 7f4c7f5c0eba |
children |
line wrap: on
line source
/* Test scoping rules for c++ in the analyzer. */ namespace { class aclass2; // Forward reference. class aclass1 { private: int attrp1; int amethodp1(int argp1); aclass2 areference; protected: int attrpr1; public: int attr1; int amethod1(int arg1); }; } namespace { class aclass2 : public aclass1 { private: int attrp2; int amethodp2(int argp1); public: aclass2(int aninitvalue); ~aclass2(); int attr2; int amethod2(int arg2); }; } aclass2::aclass2(init aninitvalue) { /* This is a comment that talks about aclass1 */ aclass1; } int aclass2::amethod2(int arg2) { int alocalvar; float q; ac; } // arch-tag: 9336063c-6b2e-4677-a390-d2dd091a2474