From: Eric Ludlam Date: Thu, 2 Jan 2014 01:44:55 +0000 (-0500) Subject: Add test files X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2cfef8fb90c78ad6f8d53969fe6fb96131f11afa;p=emacs.git Add test files * test/manual/cedet/integ_src/globalref/src/Manager.cc: These test files contributed by Barry OReilly, modified for use in the automated tests for CEDET, and with additional comments. inc/Util.hh, src/Util.cc: Search symbol both in and outside of namespaces. --- diff --git a/test/manual/cedet/integ_src/globalref/src/Manager.cc b/test/manual/cedet/integ_src/globalref/src/Manager.cc new file mode 100644 index 00000000000..7f8ca831614 --- /dev/null +++ b/test/manual/cedet/integ_src/globalref/src/Manager.cc @@ -0,0 +1,14 @@ +#include "Util.hh" +#include "Manager.hh" + +// +// This contains source using namespaces that are used in the test, +// but with an impl that we aren't searching for. +// +namespace play { namespace prod { + +Manager(const int param) { + printf("Inside Manager ctor. myUtilFunc returned: %d\n", play::prod::myUtilFunc(param)); +} + +}}