* Makefile.am (TESTS): Added cxxansi.test.
+2001-01-12 Tom Tromey <tromey@redhat.com>
+
+ * cxxansi.test: New file.
+ * Makefile.am (TESTS): Added cxxansi.test.
+
2000-12-21 Tom Tromey <tromey@redhat.com>
* vtexi.test: Fixed to reflect new rules.
confvar.test \
confvar2.test \
copy.test \
+cxxansi.test \
cxxcpp.test \
cxxlibobj.test \
cxxlink.test \
confvar.test \
confvar2.test \
copy.test \
+cxxansi.test \
cxxcpp.test \
cxxlibobj.test \
cxxlink.test \
--- /dev/null
+#! /bin/sh
+
+# Test to make sure ansi2knr doesn't use `$U' for C++.
+# Report from Robert Boehne.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CXX
+AM_C_PROTOTYPES
+END
+
+cat > Makefile.am << 'END'
+AUTOMAKE_OPTIONS = ansi2knr
+sbin_PROGRAMS = anonymous
+anonymous_SOURCES = doe.C jane.C
+END
+
+: > ansi2knr.c
+: > ansi2knr.1
+
+: > doe.C
+: > jane.C
+
+$AUTOMAKE || exit 1
+
+fgrep '$U' Makefile.in && exit 1
+exit 0