Browse Source
The identifier for the `cold` calling convention overlaps with the `cold` keyword for basic blocks so handle another kind of token when parsing signatures.pull/8858/head
Alex Crichton
5 months ago
committed by
GitHub
2 changed files with 20 additions and 2 deletions
@ -0,0 +1,12 @@ |
|||||
|
test cat |
||||
|
|
||||
|
function %cold() cold { |
||||
|
sig0 = () cold |
||||
|
sig1 = () -> i8 cold |
||||
|
block1: |
||||
|
return |
||||
|
} |
||||
|
|
||||
|
; sameln: function %cold() cold { |
||||
|
; nextln: sig0 = () cold |
||||
|
; nextln: sig1 = () -> i8 cold |
Loading…
Reference in new issue