From 2cfef8fb90c78ad6f8d53969fe6fb96131f11afa Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Wed, 1 Jan 2014 20:44:55 -0500 Subject: [PATCH] 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. --- .../cedet/integ_src/globalref/src/Manager.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/manual/cedet/integ_src/globalref/src/Manager.cc 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)); +} + +}} -- 2.39.2