summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/cxx-operator-overload-input.cpp
blob: f0503ae68b11d4921d5c927d5841c905589d794f (plain)
1
2
3
4
5
6
7
8
9
10
11
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) {
}
OpenPOWER on IntegriCloud