diff options
| author | Chong Yidong | 2010-03-29 17:26:49 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-03-29 17:26:49 -0400 |
| commit | a4100ebe291e4d2aca4dd8178e7632ba87f7a65e (patch) | |
| tree | 974cde909168950c49e79efea01558e68e434789 /test/cedet/tests/scopetest.cpp | |
| parent | fe59d70512322e7001ffd772f5e74c7302b7e1d5 (diff) | |
| download | emacs-a4100ebe291e4d2aca4dd8178e7632ba87f7a65e.tar.gz emacs-a4100ebe291e4d2aca4dd8178e7632ba87f7a65e.zip | |
Update Semantic test copyrights, delete some test files (Bug#4656).
* cedet/tests/test.cpp:
* cedet/tests/test.py:
* cedet/tests/teststruct.cpp:
* cedet/tests/testtemplates.cpp:
* cedet/tests/testusing.cpp:
* cedet/tests/scopetest.cpp:
* cedet/tests/scopetest.java: Files deleted.
* cedet/tests/test.make:
* cedet/tests/test.c:
* cedet/tests/testjavacomp.java:
* cedet/tests/testspp.c:
* cedet/tests/testsppreplace.c:
* cedet/tests/testsppreplaced.c:
* cedet/tests/testsubclass.cpp:
* cedet/tests/testsubclass.hh:
* cedet/tests/testtypedefs.cpp:
* cedet/tests/testvarnames.c:
* cedet/tests/test.el:
* cedet/tests/testdoublens.cpp:
* cedet/tests/testdoublens.hpp: Add copyright header.
* cedet/semantic-tests.el (semanticdb-test-gnu-global): Remove
reference to deleted files.
Diffstat (limited to 'test/cedet/tests/scopetest.cpp')
| -rw-r--r-- | test/cedet/tests/scopetest.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/test/cedet/tests/scopetest.cpp b/test/cedet/tests/scopetest.cpp deleted file mode 100644 index cb425c8b065..00000000000 --- a/test/cedet/tests/scopetest.cpp +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | /* Test scoping rules for c++ in the analyzer. */ | ||
| 2 | |||
| 3 | namespace { | ||
| 4 | |||
| 5 | class aclass2; // Forward reference. | ||
| 6 | |||
| 7 | class aclass1 { | ||
| 8 | private: | ||
| 9 | int attrp1; | ||
| 10 | int amethodp1(int argp1); | ||
| 11 | aclass2 areference; | ||
| 12 | protected: | ||
| 13 | int attrpr1; | ||
| 14 | public: | ||
| 15 | int attr1; | ||
| 16 | int amethod1(int arg1); | ||
| 17 | }; | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace { | ||
| 21 | class aclass2 : public aclass1 | ||
| 22 | { | ||
| 23 | private: | ||
| 24 | int attrp2; | ||
| 25 | int amethodp2(int argp1); | ||
| 26 | public: | ||
| 27 | aclass2(int aninitvalue); | ||
| 28 | ~aclass2(); | ||
| 29 | int attr2; | ||
| 30 | int amethod2(int arg2); | ||
| 31 | }; | ||
| 32 | } | ||
| 33 | |||
| 34 | aclass2::aclass2(init aninitvalue) | ||
| 35 | { | ||
| 36 | /* This is a comment that talks about aclass1 */ | ||
| 37 | aclass1; | ||
| 38 | } | ||
| 39 | |||
| 40 | int aclass2::amethod2(int arg2) | ||
| 41 | { | ||
| 42 | int alocalvar; | ||
| 43 | float q; | ||
| 44 | |||
| 45 | ac; | ||
| 46 | } | ||
| 47 | |||
| 48 | // arch-tag: 9336063c-6b2e-4677-a390-d2dd091a2474 | ||