emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/merge-cedet-tests ec14f1c 315/316: Move tests in c


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests ec14f1c 315/316: Move tests in cedet/semantic
Date: Fri, 27 Jan 2017 20:03:50 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit ec14f1caab87bf0066ccb81cae458937343cdb80
Author: xscript <address@hidden>
Commit: Edward John Steere <address@hidden>

    Move tests in cedet/semantic
---
 .../cedet/cedet/semantic/tests/testdoublens.hpp    |   51 ++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/test/manual/cedet/cedet/semantic/tests/testdoublens.hpp 
b/test/manual/cedet/cedet/semantic/tests/testdoublens.hpp
new file mode 100644
index 0000000..9722e72
--- /dev/null
+++ b/test/manual/cedet/cedet/semantic/tests/testdoublens.hpp
@@ -0,0 +1,51 @@
+//
+// Header file used in one of the ia-utest tests.
+//
+namespace Name1 {
+  namespace Name2 {
+
+    class Foo
+    {
+      typedef unsigned int Mumble;
+    public:
+      Foo();
+      ~Foo();
+      int get();
+
+    private:
+      void publishStuff(int a, int b);
+
+      void sendStuff(int a, int b);
+
+      Mumble* pMumble;
+    };
+
+    typedef Foo stage1_Foo;
+
+  } // namespace Name2
+
+  typedef Name2::stage1_Foo stage2_Foo;
+
+  typedef Name2::Foo decl_stage1_Foo;
+
+} // namespace Name1
+
+typedef Name1::stage2_Foo stage3_Foo;
+
+
+// Double namespace from Hannu Koivisto
+namespace a {
+  namespace b {
+
+    class Foo
+    {
+      struct Dum {
+        int diDum;
+      };
+
+    protected:
+      mutable a::b::Foo::Dum dumdum;
+    };
+
+  } // namespace b
+} // namespace a



reply via email to

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