File: a02-labels

package info (click to toggle)
ceccomp 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,648 kB
  • sloc: ansic: 6,531; python: 1,078; makefile: 248; sh: 145
file content (14 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Test duplicated labels and labels that are not found
STDIN
L1:
if ($A == 0) goto L2
L1:
return ALLOW
STDERR
[WARN]: 2:-: Can not find label declaration
if ($A == 0) goto L2
~~~~~~~~~~~~~~~~~~~~
[WARN]: 3:1: Found duplicated label declaration
L1:
^
[ERROR]: Found errors when assembling