aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/core_SUITE_data/eval_is_boolean.core
blob: 6a68b1414db507768cb9d992051a7cf5e6be38da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module 'eval_is_boolean' ['eval_is_boolean'/0]
    attributes []
'eval_is_boolean'/0 =
    %% Line 4
    fun () ->
	case <> of
	  <> when 'true' ->
		case call 'erlang':'is_boolean'(call 'erlang':'make_ref'()) of
		    <'false'> when 'true' ->
			'ok'
		    ( <_cor1> when 'true' ->
			  primop 'match_fail'
			      ({'badmatch',_cor1})
		      -| ['compiler_generated'] )
		  end
	  ( <> when 'true' ->
		( primop 'match_fail'
		      ({'function_clause'})
		  -| [{'function_name',{'eval_is_boolean',0}}] )
	    -| ['compiler_generated'] )
	end
end