X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FCHR14.scl;fp=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FCHR14.scl;h=f9f17796ef89929c9193cd96a485c6e9c20bd82e;hp=0000000000000000000000000000000000000000;hb=21eae91e860f9f3cdb9cd0ee6fded24cdb8ca2f5;hpb=64047d36275405b5bcae7a85e003fd4845ab80e3 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR14.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR14.scl new file mode 100644 index 000000000..f9f17796e --- /dev/null +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR14.scl @@ -0,0 +1,16 @@ +module { export = [main], features = [chr] } +import "Prelude" + +ruleset A where + constraint AR Integer Integer + +pcombine :: A -> () +pcombine a = () + where + include A a + + -AR ?a ?b => True + +main = () +-- +() \ No newline at end of file