aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/core_SUITE_data/nomatch_shadow.core
blob: 565d9dc0f3817ce21780b6bf41181ee785bf7d9a (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
module 'nomatch_shadow' ['nomatch_shadow'/0]
    attributes []
'nomatch_shadow'/0 =
    fun () ->
	case <> of
	  <> when 'true' ->
	      apply 't'/1
		  (42)
	  ( <> when 'true' ->
		( primop 'match_fail'
		      ({'function_clause'})
		  -| [{'function_name',{'nomatch_shadow',0}}] )
	    -| ['compiler_generated'] )
	end
't'/1 =
    fun (_cor0) ->
	case _cor0 of
	  <42> when 'true' ->
	      'ok'
	  <42> when 'true' ->
	      'ok'
	  ( <_cor1> when 'true' ->
		( primop 'match_fail'
		      ({'function_clause',_cor1})
		  -| [{'function_name',{'t',1}}] )
	    -| ['compiler_generated'] )
	end
end