Add a C++ indexing test case, where we show the references of overloaded '+' plus signs.
Ok, this is a bit out of place since C++ support is way way off, but it was just too cool to not show it off :-)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75601 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Index/cxx-operator-overload-input.cpp b/test/Index/cxx-operator-overload-input.cpp
new file mode 100644
index 0000000..f0503ae
--- /dev/null
+++ b/test/Index/cxx-operator-overload-input.cpp
@@ -0,0 +1,12 @@
+class Cls {
+public:
+ Cls operator +(const Cls &RHS);
+};
+
+static void bar() {
+ Cls x1, x2, x3;
+ Cls x4 = x1 + x2 + x3;
+}
+
+Cls Cls::operator +(const Cls &RHS) {
+}