Explain the expected failures in 311
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
|
;;; Regression test to ensure that newly inferred scopes are closed.
|
||||||
|
|
||||||
.scope foo
|
.scope foo
|
||||||
start:
|
start:
|
||||||
|
;; Since `bar` is not a known scope at this point, it is
|
||||||
|
;; inferred to be `::foo::bar`, and since `::foo::bar::start`
|
||||||
|
;; does not exist this will produce an error. Importantly,
|
||||||
|
;; it does not resolve to `::foo::start` which would be
|
||||||
|
;; incorrect.
|
||||||
jmp bar::start
|
jmp bar::start
|
||||||
.endscope
|
.endscope
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
311-close-new-scopes-error.s:3: Error: Symbol 'start' is undefined
|
311-close-new-scopes-error.s:10: Error: Symbol 'start' is undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user