0031918: Application Framework - New binary format for fast reading part of OCAF...
[occt.git] / tests / bugs / caf / bug23799
CommitLineData
643cc6aa 1puts "============"
2puts "OCC23799"
3puts "============"
4puts ""
5#######################################################################
6# Crash on copying a label
7#######################################################################
8
9set BugNumber OCC23799
10
11# Create a new document
12NewDocument D
13
14psphere s 100
15explode s f
16
17ImportShape D 0:1 s
18SelectShape D 0:2 s_1 s
19ForgetAll D 0:1
20
21if { [catch [CopyLabel D 0:2 0:3] ] != 0 } {
22 puts "${BugNumber}: Error copy label"
23} else {
24 puts "${BugNumber}: OK"
25}