type messagefile {}

(messagefile t) greeting(string m) { 
    app {
        echo m stdout=@filename(t);
    }
}

messagefile outfile <"091-case.out">;

int selector = 8;

print(selector);

string message;

switch(selector) {
  case 3:
    message="first message";
  case 8:
    message="eighth message";
  case 57:
    message="last message";
  default:
    message="no message at all...";
}

outfile = greeting(message);


type messagefile {}

(messagefile t) greeting(string m) { 
    app {
        echo m stdout=@filename(t);
    }
}

messagefile outfile <"091-case.out">;

int selector = 8;

trace(selector);

string message;

switch(selector) {
  case 3:
    message="first message";
  case 8:
    message="eighth message";
  case 57:
    message="last message";
  default:
    message="no message at all...";
}

outfile = greeting(message);


Remove uses of print in language-behaviour test, as this was removed in r2921
Remove uses of print in language-behaviour test, as this was removed in r2921

git-svn-id: 6ee47c8665bf46900d9baa0afb711c5b4a0eafac@2938 e2bb083e-7f23-0410-b3a8-8253ac9ef6d8
