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
commit9108f9b478b9b47dc8c949d16e9fae70536cfa9e (patch)
tree3cb14b8d187cad878db31cf6ff4339087cf0a460 /tests/scripts/features
parent03bcf0138934079c61d63ae85a927804c076516b (diff)
downloadmake-9108f9b478b9b47dc8c949d16e9fae70536cfa9e.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 af4fa39a..41ac26dc 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;