From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-fail-assert-equal-function-direct.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/testdata/eval-fail-assert-equal-function-direct.nix (limited to 'test/testdata/eval-fail-assert-equal-function-direct.nix') diff --git a/test/testdata/eval-fail-assert-equal-function-direct.nix b/test/testdata/eval-fail-assert-equal-function-direct.nix new file mode 100644 index 0000000..68e5e39 --- /dev/null +++ b/test/testdata/eval-fail-assert-equal-function-direct.nix @@ -0,0 +1,7 @@ +# Note: functions in nested structures, e.g. attributes, may be optimized away by pointer identity optimization. +# This only compares a direct comparison and makes no claims about functions in nested structures. +assert + (x: x) + == + (x: x); +abort "unreachable" \ No newline at end of file -- cgit v1.2.3