Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
295 B
C++
Raw Permalink Normal View History

2020-02-06 10:52:30 +01:00
struct C {
int func() { return 111; }
int func() const { return 222; }
int const_func() const { return 333; }
int nonconst_func() { return 444; }
};
int main() {
C c;
const C const_c;
c.func();
c.nonconst_func();
const_c.func();
c.const_func();
return 0; // break here
}