aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-04-08 15:13:00 +0200
committerHans Bolinder <[email protected]>2015-04-27 08:30:45 +0200
commit4729cebdf61022cadb0a5a04ae30bace77a7b5db (patch)
treea68b0ac1ea4808c20970b24f37f20c70c33a87f4 /lib/dialyzer/test/small_SUITE_data
parent39ce3a33b8d692608850d4bd3a0bf078359b3c91 (diff)
downloadotp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.tar.gz
otp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.tar.bz2
otp-4729cebdf61022cadb0a5a04ae30bace77a7b5db.zip
dialyzer: Add new option 'no_missing_calls'
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/suppression3.erl17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/suppression3.erl b/lib/dialyzer/test/small_SUITE_data/src/suppression3.erl
new file mode 100644
index 0000000000..4a745cffc2
--- /dev/null
+++ b/lib/dialyzer/test/small_SUITE_data/src/suppression3.erl
@@ -0,0 +1,17 @@
+-module(suppression3).
+
+-export([a/1, b/1]).
+
+-dialyzer({nowarn_function, a/1}).
+
+-spec a(_) -> integer().
+
+a(A) ->
+ ?MODULE:missing(A).
+
+-dialyzer({no_missing_calls, b/1}).
+
+-spec b(_) -> integer().
+
+b(A) ->
+ ?MODULE:missing(A).