Explain the expected failures in 311

This commit is contained in:
Joshua Bell
2025-08-22 09:57:45 -07:00
parent 873361ba83
commit ce20b6aa48
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,12 @@
;;; Regression test to ensure that newly inferred scopes are closed.
.scope foo
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
.endscope

View File

@@ -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