mirror of https://github.com/KLayout/klayout.git
36 lines
629 B
Plaintext
36 lines
629 B
Plaintext
# <test>
|
|
# <name>t2.7.ot</name>
|
|
# <content-description>Two cells, one just declared but not present</content-description>
|
|
# <test-intention>Unused CELLNAME must not generate an empty cell</test-intention>
|
|
# <content>
|
|
# begin_lib 0.001
|
|
# begin_cell {XYZ}
|
|
# end_cell
|
|
# end_lib
|
|
# </content>
|
|
# </test>
|
|
|
|
header
|
|
real 0 1000.0
|
|
uint 0 ;# offset table is in start record
|
|
for { set i 0 } { $i < 12 } { incr i } { uint 0 }
|
|
|
|
# ABC gets assigned 1
|
|
record CELLNAME_ID
|
|
str ABC
|
|
uint 1
|
|
|
|
# XYZ gets assigned 0
|
|
record CELLNAME_ID
|
|
str XYZ
|
|
uint 0
|
|
|
|
# Cell XYZ (empty)
|
|
record CELL_ID
|
|
uint 0
|
|
|
|
# no body.
|
|
|
|
tail
|
|
|