summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/whitequark/pattern_matching_const_pattern.txt
blob: 82821dbc83c9039183c92d167ea0b93bd9908ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
case foo; in A() then true; end

case foo; in A(1, 2) then true; end

case foo; in A(x:) then true; end

case foo; in A[1, 2] then true; end

case foo; in A[] then true; end

case foo; in A[x:] then true; end