diff options
Diffstat (limited to 'tests/typing/good')
-rw-r--r-- | tests/typing/good/testfile-return-type-redef.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/typing/good/testfile-return-type-redef.cpp b/tests/typing/good/testfile-return-type-redef.cpp new file mode 100644 index 0000000..ff14d00 --- /dev/null +++ b/tests/typing/good/testfile-return-type-redef.cpp @@ -0,0 +1,11 @@ +class A { + public: + int f(int x); +}; + +class B : public A { + public: + void f(int x); +}; + +int main() {} |