Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/devtools/rootAnalysis/t/exceptions/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 672 B image not shown  

Quelle  test.py

  Sprache: Python
 

# flake8: noqa: F821

test.compile("source.cpp""-fno-exceptions")
test.run_analysis_script("gcTypes")

hazards = test.load_hazards()
assert len(hazards) == 0

# If we compile with exceptions, then there *should* be a hazard because
# AutoSomething::AutoSomething might throw an exception, which would cause the
# partially-constructed value to be torn down, which will call ~RAII_GC.

test.compile("source.cpp""-fexceptions")
test.run_analysis_script("gcTypes")

hazards = test.load_hazards()
assert len(hazards) == 1
hazard = hazards[0]
assert hazard.function == "void f()"
assert hazard.variable == "thing"
assert "AutoSomething::AutoSomething" in hazard.GCFunction

Messung V0.5 in Prozent
C=96 H=94 G=94

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-06-06) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.