aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/core_SUITE_data/bad_boolean_guard.core
blob: 318f8e3dc7ec5d9ae60eb5ddcd460879ee3c7036 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module 'bad_boolean_guard' ['bad_boolean_guard'/0,
			    'module_info'/0,
			    'module_info'/1]
    attributes []
'bad_boolean_guard'/0 =
    fun () ->
	apply 'f'/1
	    ('true')
'f'/1 =
    fun (_X_cor0) ->
	case _X_cor0 of
	  <X>
	      when try
		    call 'erlang':'and'
			('bad', _X_cor0)
		of <Try> ->
		    Try
		catch <T,R> ->
		    'false' ->
	      'not_ok'
	  <_X_cor3> when 'true' ->
	      'ok'
	end
'module_info'/0 =
    fun () ->
	call 'erlang':'get_module_info'
	    ('bad_boolean_guard')
'module_info'/1 =
    fun (_X_cor0) ->
	call 'erlang':'get_module_info'
	    ('bad_boolean_guard', _X_cor0)
end