summaryrefslogtreecommitdiff
path: root/tests/scripts/features
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-01-13 12:40:13 -0500
committerPaul Smith <psmith@gnu.org>2013-01-13 12:40:13 -0500
commit6ca41d9b17d8d3a1338acf1804d13a340ff644ac (patch)
tree3cb14b8d187cad878db31cf6ff4339087cf0a460 /tests/scripts/features
parent686a74bfb2a624d6e85b6343f30815c976931704 (diff)
downloadgunmake-6ca41d9b17d8d3a1338acf1804d13a340ff644ac.tar.gz
[SV #37878] Add a check for targets with parens that are not archives.
Diffstat (limited to 'tests/scripts/features')
-rw-r--r--tests/scripts/features/archives8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/scripts/features/archives b/tests/scripts/features/archives
index af4fa39..41ac26d 100644
--- a/tests/scripts/features/archives
+++ b/tests/scripts/features/archives
@@ -43,5 +43,13 @@ run_make_test('all: libxx.a( a3.o *.o )', '',
rmfiles(qw(a1.o a2.o a3.o libxx.a));
+# Check non-archive targets
+# See Savannah bug #37878
+run_make_test(q!
+all: foo(bar).baz
+foo(bar).baz: ; @echo '$@'
+!,
+ '', "foo(bar).baz\n");
+
# This tells the test driver that the perl test script executed properly.
1;