Added tests for typechecking
This commit is contained in:
6
tests_ispcpp/error_1.ispc
Normal file
6
tests_ispcpp/error_1.ispc
Normal file
@@ -0,0 +1,6 @@
|
||||
//@error
|
||||
//assigning mismatched polymorphic types
|
||||
|
||||
export void foo(floating<0> bar) {
|
||||
floating baz = bar;
|
||||
}
|
||||
Reference in New Issue
Block a user