summaryrefslogtreecommitdiff
path: root/clang/testmemberfunction.cxx
blob: e30730474d4e906e3ac3a50dee70357b5d8ae93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace ns
{
class C
{
public:
    void foo(int x);
};
}

void ns::C::foo(int /*x*/)
{
}

int main(int /*argc*/, char** /*argv*/)
{
    ns::C aC;
    aC.foo(0);
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */