[vala] Add test for bug 593260
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Add test for bug 593260
- Date: Sat, 26 Sep 2009 13:46:06 +0000 (UTC)
commit ae4a7a167637b27b030463c14dfc73637ebba965
Author: Jürg Billeter <j bitron ch>
Date: Sat Sep 26 15:45:28 2009 +0200
Add test for bug 593260
tests/Makefile.am | 1 +
tests/objects/bug593260.vala | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f75f8ad..df43441 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -43,6 +43,7 @@ TESTS = \
objects/test-026.vala \
objects/test-029.vala \
objects/test-034.vala \
+ objects/bug593260.vala \
errors/errors.vala \
errors/bug596228.vala \
dbus/basic-types.test \
diff --git a/tests/objects/bug593260.vala b/tests/objects/bug593260.vala
new file mode 100644
index 0000000..6c1e658
--- /dev/null
+++ b/tests/objects/bug593260.vala
@@ -0,0 +1,10 @@
+class Foo {
+ public void do_foo<T> () {
+ assert (this is Foo);
+ }
+}
+
+void main() {
+ var foo = new Foo ();
+ foo.do_foo<int> ();
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]