[vala-tests] Add test case for bug 576122
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala-tests] Add test case for bug 576122
- Date: Wed, 15 Apr 2009 16:41:01 -0400 (EDT)
commit 8c8bd8740b89e24c7af43024ee7e0e9fa63551db
Author: Levi Bard <taktaktaktaktaktaktaktaktaktak gmail com>
Date: Wed Apr 15 22:40:35 2009 +0200
Add test case for bug 576122
---
tests/bugs/576122.vala | 10 ++++++++++
tests/bugs/test.sh | 1 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/tests/bugs/576122.vala b/tests/bugs/576122.vala
new file mode 100644
index 0000000..9da3c1e
--- /dev/null
+++ b/tests/bugs/576122.vala
@@ -0,0 +1,10 @@
+struct Vector {
+ Vector (double x, double y, double z) {}
+}
+
+class XXX:GLib.Object {
+ public Vector location {get; set; default = Vector(80, 0, 0);}
+ public Vector target {get; set; default = Vector(0, 0, 0);}
+ public Vector up {get; set; default = Vector(0, 0, 1);}
+}
+
diff --git a/tests/bugs/test.sh b/tests/bugs/test.sh
index 71833c1..f1e0f5d 100755
--- a/tests/bugs/test.sh
+++ b/tests/bugs/test.sh
@@ -29,6 +29,7 @@ invalid="
435854
556881
571960
+576122
"
SRCDIR=../tests/bugs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]