diff --git a/tests/compile-only/fail-incomplete-property-block.sp b/tests/compile-only/fail-incomplete-property-block.sp new file mode 100644 index 00000000..6ef0f2f9 --- /dev/null +++ b/tests/compile-only/fail-incomplete-property-block.sp @@ -0,0 +1,2 @@ +methodmap A { + property int p { diff --git a/tests/compile-only/fail-incomplete-property-block.txt b/tests/compile-only/fail-incomplete-property-block.txt new file mode 100644 index 00000000..1f53d7ef --- /dev/null +++ b/tests/compile-only/fail-incomplete-property-block.txt @@ -0,0 +1 @@ +(3) : error 001: expected token: "public", but found "-end of file-"