]> andersk Git - splint.git/blobdiff - test/Makefile.am
Added checking for union initializers.
[splint.git] / test / Makefile.am
index b6fbfa56c368cce3aa2bb2f03567586a43f3837d..0f0108aa0e8bcded15f106d0a7072d7ad2a9f179 100644 (file)
@@ -51,7 +51,7 @@ UNITTESTS = \
   mongoincludes mystrncat noeffect null observer oldstyle outglob outparam \
   postnotnull preds prefixes printflike rc refcounts release repexpose \
   returned sharing slovaknames specclauses special stack staticarray strings \
-  structassign typequals ud ulstypes union unreachable unsignedcompare \
+  structassign typequals ud ulstypes union unioninit unreachable unsignedcompare \
   unused ullint utypes void
 UNITEXPECTS = $(addsuffix .expect, $(UNITTESTS))
 
@@ -689,12 +689,22 @@ ulstypes:
        $(SPLINTR) ulstypes.c -expect 8
        $(SPLINTR) ulstypes.c +ignorequals 
        $(SPLINTRN) ulstypes.c +strict -exportheader -exportheadervar -expect 28
+
 # 3 more detected with version 2.5 (change in -numliteral setting)
 
 .PHONY: union
 union:
        $(SPLINTR) +memchecks union.c -expect 8
 
+###
+### Added 2001-12-30: fixed union initializer checking in response to
+### bug report from Jim Zelenka.
+###
+
+.PHONY: unioninit
+unioninit:
+       $(SPLINTR) unioninit.c -expect 2
+
 .PHONY: unreachable
 unreachable:
        $(SPLINTR) unreachable.c -expect 5
This page took 0.521183 seconds and 4 git commands to generate.