Exemplo n.º 1
0
        public void SimpleFadd_FloatingPointResultType_Expected_Exception()
        {
            LFadd fadd;

            Assert.Throws <Exception>(() =>
                                      fadd = new LFadd(new LValueRef(LType.F32Type(), "%result"), _valueOp1, _valueOp2)
                                      );
        }
Exemplo n.º 2
0
        public void SimpleFadd_Op2FromDifferentType_Expected_Exception()
        {
            LFadd fadd;

            Assert.Throws <Exception>(() =>
                                      fadd = new LFadd(_valueResult, _valueOp1, new LValueRef(LType.Int128Type(), "%op2"))
                                      );
        }