From 0e7ecded1f8d944ee138d79b46f10e5f6c6618c7 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Tue, 11 Jan 2011 17:34:28 -0300 Subject: Added test to assert the precedence of enum arguments over int implicit conversions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test is inspired by bug #511 [1], and it checks the precedence of an enum argument over a class that can be implicitly built from an integer. [1] http://bugs.openbossa.org/show_bug.cgi?id=511 Reviewed by Luciano Wolf Reviewed by Renato Araújo --- tests/samplebinding/typesystem_sample.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/samplebinding/typesystem_sample.xml') diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 5a518c34a..2667c16d5 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -1238,6 +1238,11 @@ + + + + + -- cgit v1.2.3