about summary refs log tree commit diff
path: root/tests/lang/eval-fail-abort.nix
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-23T15·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-23T15·46+0000
commit38f18aa6d418515e42b688fa9b3e4f3ab61bb89e (patch)
tree3859e7778e44814cdb00f2693dd5778d0e0cb88e /tests/lang/eval-fail-abort.nix
parent4a053bfdfd85915a2a659a337bd171bc22c49138 (diff)
* New primop: abort "error message".
Diffstat (limited to 'tests/lang/eval-fail-abort.nix')
-rw-r--r--tests/lang/eval-fail-abort.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-abort.nix b/tests/lang/eval-fail-abort.nix
new file mode 100644
index 000000000000..75c51bceb540
--- /dev/null
+++ b/tests/lang/eval-fail-abort.nix
@@ -0,0 +1 @@
+if true then abort "this should fail" else 1