[vala/tintou/test-digit] tests: Add a field starting with a digit test
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/tintou/test-digit] tests: Add a field starting with a digit test
- Date: Thu, 21 Mar 2019 21:20:25 +0000 (UTC)
commit 3c7ac5b2e5940f99e7a623314496b154b6e53cf0
Author: Corentin Noël <corentin elementary io>
Date: Thu Mar 21 22:19:28 2019 +0100
tests: Add a field starting with a digit test
tests/Makefile.am | 1 +
tests/objects/digit-field.test | 8 ++++++++
2 files changed, 9 insertions(+)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e6ec53941..9acbdf6da 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -286,6 +286,7 @@ TESTS = \
objects/constructor-variadic.test \
objects/constructors.vala \
objects/destructors.vala \
+ objects/digit-field.test \
objects/duplicating-instance-invalid.test \
objects/dynamic.vala \
objects/generics.vala \
diff --git a/tests/objects/digit-field.test b/tests/objects/digit-field.test
new file mode 100644
index 000000000..fc27b192a
--- /dev/null
+++ b/tests/objects/digit-field.test
@@ -0,0 +1,8 @@
+Invalid Code
+
+class Foo : Object {
+ int 0bar = 0;
+}
+
+void main () {
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]