aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/opaque_SUITE_data/src
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2011-12-22 16:38:21 +0200
committerStavros Aronis <[email protected]>2012-02-22 13:04:27 +0100
commit2f8daabdbdd3d03a4db8e1680a8b2773f0561d5e (patch)
tree0e75e4613ecb7d3e263f83077d89414c722de785 /lib/dialyzer/test/opaque_SUITE_data/src
parent8900a242fb35212b64b6b4246caa0ace128ca9b4 (diff)
downloadotp-2f8daabdbdd3d03a4db8e1680a8b2773f0561d5e.tar.gz
otp-2f8daabdbdd3d03a4db8e1680a8b2773f0561d5e.tar.bz2
otp-2f8daabdbdd3d03a4db8e1680a8b2773f0561d5e.zip
Allow t_opaque_structure to handle multiple opaque types
Diffstat (limited to 'lib/dialyzer/test/opaque_SUITE_data/src')
-rw-r--r--lib/dialyzer/test/opaque_SUITE_data/src/multiple_wrong_opaques.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dialyzer/test/opaque_SUITE_data/src/multiple_wrong_opaques.erl b/lib/dialyzer/test/opaque_SUITE_data/src/multiple_wrong_opaques.erl
new file mode 100644
index 0000000000..9e695cec1d
--- /dev/null
+++ b/lib/dialyzer/test/opaque_SUITE_data/src/multiple_wrong_opaques.erl
@@ -0,0 +1,8 @@
+-module(multiple_wrong_opaques).
+
+-export([weird/1]).
+
+-spec weird(dict() | gb_tree()) -> 42.
+
+weird(gazonk) -> 42.
+