aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/behaviour_SUITE_data/src
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2011-11-29 18:17:50 +0100
committerStavros Aronis <[email protected]>2011-12-01 11:55:09 +0100
commit3f55d396eed67ce75b35aa0be4d8b1a456f174de (patch)
tree0a94e35d75f2d95c4ebdc534922db0f98c93c4f2 /lib/dialyzer/test/behaviour_SUITE_data/src
parent9949c1e03cdde87548371d5a9b53a997e3088dc6 (diff)
downloadotp-3f55d396eed67ce75b35aa0be4d8b1a456f174de.tar.gz
otp-3f55d396eed67ce75b35aa0be4d8b1a456f174de.tar.bz2
otp-3f55d396eed67ce75b35aa0be4d8b1a456f174de.zip
Fix bug in Dialyzer's behaviours analysis
Diffstat (limited to 'lib/dialyzer/test/behaviour_SUITE_data/src')
-rw-r--r--lib/dialyzer/test/behaviour_SUITE_data/src/vars_in_beh_spec.erl10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dialyzer/test/behaviour_SUITE_data/src/vars_in_beh_spec.erl b/lib/dialyzer/test/behaviour_SUITE_data/src/vars_in_beh_spec.erl
new file mode 100644
index 0000000000..dc75b30d0e
--- /dev/null
+++ b/lib/dialyzer/test/behaviour_SUITE_data/src/vars_in_beh_spec.erl
@@ -0,0 +1,10 @@
+-module(vars_in_beh_spec).
+
+-behaviour(gen_server).
+
+-export([code_change/3]).
+
+-spec code_change(_, State, _) -> {ok, State}.
+
+code_change(_, State, _) ->
+ {ok, State}.