ref: a0d80034b4b6a66839a8a8c0e325e747879648e8
parent: 75dbdd0239e5bbe8d27407e3a4a32922ae37ca72
author: Ori Bernstein <[email protected]>
date: Fri Jan 24 06:35:31 EST 2014
Add disabled test for empty traits.
--- /dev/null
+++ b/test/emptytrait.myr
@@ -1,0 +1,14 @@
+use std
+
+trait fooable @a =
+;;
+impl fooable int
+
+generic foo = {x : @a::fooable
+ -> x
+}
+
+const main = {
+ std.exit(foo(123))
+}
+
--- a/test/tests
+++ b/test/tests
@@ -72,6 +72,7 @@
B generic E 42
B genericval E 42
B trait-builtin E 42
+# E emptytrait E 123 ## BUGGERED
B nestucon P asdf
B mkunion E 0
B genericcall E 42