summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-02-19 19:44:06 +0000
committerflorian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2>2014-02-19 19:44:06 +0000
commit1b532a627b1708b41924c38df61ce38665d07054 (patch)
tree69140e4c0bb1666f93b48cd3cddc0f985f32387e /tests
parent9d823b9f43f45db16ce450190ecf6f59fb6df8b9 (diff)
downloadfpc-1b532a627b1708b41924c38df61ce38665d07054.tar.gz
* do not crash on invalid property declaration, resolves #23980
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26818 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests')
-rw-r--r--tests/webtbs/tw23980.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/webtbs/tw23980.pp b/tests/webtbs/tw23980.pp
new file mode 100644
index 0000000000..989495e076
--- /dev/null
+++ b/tests/webtbs/tw23980.pp
@@ -0,0 +1,8 @@
+{ %fail }
+type TObj = object
+ property crashme;
+ end;
+
+begin
+end.
+