diff options
Diffstat (limited to 'lib/dialyzer/test/small_SUITE_data/src/zero_tuple.erl')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/src/zero_tuple.erl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/zero_tuple.erl b/lib/dialyzer/test/small_SUITE_data/src/zero_tuple.erl new file mode 100644 index 0000000000..7c790e5658 --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/src/zero_tuple.erl @@ -0,0 +1,12 @@ +-module(zero_tuple). +-export([t1/0, t2/0]). + +t1() -> + {} = a(), + ok. + +t2() -> + b = a(), + ok. + +a() -> a. |