diff options
Diffstat (limited to 'tests/semantic/method-private-override.test')
-rw-r--r-- | tests/semantic/method-private-override.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/semantic/method-private-override.test b/tests/semantic/method-private-override.test new file mode 100644 index 000000000..def7d8632 --- /dev/null +++ b/tests/semantic/method-private-override.test @@ -0,0 +1,14 @@ +Invalid Code + +class Foo { + public virtual void foo () { + } +} + +class Bar : Foo { + override void foo () { + } +} + +void main () { +} |