summaryrefslogtreecommitdiff
path: root/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata')
-rw-r--r--tests/testdata/check/missing_override.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/testdata/check/missing_override.ts b/tests/testdata/check/missing_override.ts
new file mode 100644
index 000000000..b3163d484
--- /dev/null
+++ b/tests/testdata/check/missing_override.ts
@@ -0,0 +1,10 @@
+export class Base {
+ method() {
+ }
+}
+
+export class Derived extends Base {
+ // missing override keyword
+ method() {
+ }
+}