summaryrefslogtreecommitdiffstats
path: root/test/lemon-test01.y
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:16:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:16:44 +0000
commit62a67b10ff9f9eea6a4695649fb8252d2a4bc74d (patch)
tree7b54cadc082d323cda5fd24248e85b7d2ea664a3 /test/lemon-test01.y
parentAdding debian version 3.45.3-1. (diff)
downloadsqlite3-62a67b10ff9f9eea6a4695649fb8252d2a4bc74d.tar.xz
sqlite3-62a67b10ff9f9eea6a4695649fb8252d2a4bc74d.zip
Merging upstream version 3.46.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/lemon-test01.y')
-rw-r--r--test/lemon-test01.y7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/lemon-test01.y b/test/lemon-test01.y
index 0fd514f..67890c6 100644
--- a/test/lemon-test01.y
+++ b/test/lemon-test01.y
@@ -2,6 +2,11 @@
//
// lemon lemon-test01.y && gcc -g lemon-test01.c && ./a.out
//
+// This testcase was made obsolete by check-in 7cca80808cef192f on
+// 2021-08-17 (associated with Forum Thread
+// https://sqlite.org/forum/forumpost/bd91fd965c9803c4) and no longer
+// works. It is retained for historical reference only.
+//
%token_prefix TK_
%token_type int
%default_type int
@@ -28,7 +33,7 @@ all ::= error B.
#include "lemon-test01.h"
static int nTest = 0;
static int nErr = 0;
- static int testCase(int testId, int shouldBe, int actual){
+ static void testCase(int testId, int shouldBe, int actual){
nTest++;
if( shouldBe==actual ){
printf("test %d: ok\n", testId);