summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-08-18 00:34:46 +0000
committerKevin Ryde <user42@zip.com.au>2004-08-18 00:34:46 +0000
commit35ce851c9e8792c322c7ac5ffa461dc458fafcc0 (patch)
treee037b2e95fb1e413160303f8938d34d7387cf585
parenta158acd158263325aa416532f18059f1c8010d07 (diff)
downloadguile-35ce851c9e8792c322c7ac5ffa461dc458fafcc0.tar.gz
New file.
-rw-r--r--test-suite/tests/and-let-star.test32
1 files changed, 32 insertions, 0 deletions
diff --git a/test-suite/tests/and-let-star.test b/test-suite/tests/and-let-star.test
new file mode 100644
index 000000000..16439463f
--- /dev/null
+++ b/test-suite/tests/and-let-star.test
@@ -0,0 +1,32 @@
+;;;; and-let-star.test --- Tests for Guile and-let-star module. -*- scheme -*-
+;;;;
+;;;; Copyright (C) 2004 Free Software Foundation, Inc.
+;;;;
+;;;; This program is free software; you can redistribute it and/or modify
+;;;; it under the terms of the GNU General Public License as published by
+;;;; the Free Software Foundation; either version 2, or (at your option)
+;;;; any later version.
+;;;;
+;;;; This program is distributed in the hope that it will be useful,
+;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;;; GNU General Public License for more details.
+;;;;
+;;;; You should have received a copy of the GNU General Public License
+;;;; along with this software; see the file COPYING. If not, write to
+;;;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+;;;; Boston, MA 02111-1307 USA
+
+(define-module (test-suite test-and-let-star)
+ #:use-module (test-suite lib)
+ #:use-module (ice-9 and-let-star))
+
+;;;
+;;; and-let*
+;;;
+
+(with-test-prefix "and-let*"
+
+ (pass-if "cond-expand srfi-2"
+ (cond-expand (srfi-2 #t)
+ (else #f))))