From b58db9bcf1fdb4dc5fd6030d3cef556641e60dd5 Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Sat, 11 May 2002 00:20:57 +0200
Subject: [PATCH] Added another line number test.

Rev: src/testsuite.in:1.512
---
 src/testsuite.in | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/testsuite.in b/src/testsuite.in
index 83bf368451..19533d0091 100644
--- a/src/testsuite.in
+++ b/src/testsuite.in
@@ -1,4 +1,4 @@
-test_true([["$Id: testsuite.in,v 1.511 2002/05/09 20:49:18 nilsson Exp $"]]);
+test_true([["$Id: testsuite.in,v 1.512 2002/05/10 22:20:57 mast Exp $"]]);
 
 cond([[all_constants()->_verify_internals]],
 [[
@@ -1118,6 +1118,13 @@ test_program([[// [bug 3060]
   }
 ]])
 
+dnl Note: This line number error tend to go away with more debug.
+test_program([[
+  int x = 0;
+  int y = [int] backtrace()[-1][1];
+  int a() {return y == 3;}
+]])
+
 dnl ----------------------------------------------------------------
 dnl scopes and stuff
 dnl ----------------------------------------------------------------
-- 
GitLab