summaryrefslogblamecommitdiff
path: root/tests/typing/bad/testfile-invalid-virtual-redef.cpp
blob: 263ec6207f6086208551b2259074387f7b0d9bb8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                          
class A {
    public:
    virtual int f(int x);
};

class B : public A {
    public:
    virtual void f(int x);
};

int main() {}