Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  bug_17594.v   Sprache: Coq

 
From Ltac2 Require Import Ltac2.
From Ltac2 Require Import Message.

Ltac2 msg s := print (of_string s).

Goal True.
  (* should be the exact error *)
  Fail multi_match! 'True with
    | True => msg "1"
    | _ => msg "2"
    end;
    msg "3"exact 0.

  Fail ltac1:(multimatch True with
    | True => idtac "1"
    | _ => idtac "2"
    endidtac "3"exact 0).

  Fail multi_match! goal with
    | [ |- True ] => msg "1"
    | [ |- _ ] => msg "2"
    end;
    msg "3"exact 0.

  Fail ltac1:(multimatch goal with
    | |- True => idtac "1"
    | |- _ => idtac "2"
    endidtac "3"exact 0).

  (* should be match error *)
  Fail multi_match! 'True with
    | True => msg "1"
    | False => msg "2"
    end;
    msg "3"exact 0.

  Fail ltac1:(multimatch True with
    | True => idtac "1"
    | False => idtac "2"
    endidtac "3"exact 0).

  Fail multi_match! goal with
    | [ |- True ] => msg "1"
    | [ |- False ] => msg "2"
    end;
    msg "3"exact 0.

  Fail ltac1:(multimatch goal with
    | |- True => idtac "1"
    | |- False => idtac "2"
    endidtac "3"exact 0).

Abort.

Messung V0.5
C=93 H=94 G=93

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge