The class must exists.
Following code will raise a "CLASS NOT FOUND error" message on runtime
for any call to the foo class method.
Class Sample.Foobar
{
ClassMethod foo()
{
do ##class(Violated).bar() // CLASS NOT FOUND error
}
}