Added tests for typechecking

This commit is contained in:
2017-04-26 11:38:17 -04:00
parent d6cf38a929
commit f2287d2cd7
5 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
//@error
//assigning mismatched polymorphic types
export void foo(floating<0> bar) {
floating baz = bar;
}