blob: b2c9170e396d1187b6df728b86570d936006a3ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
discard """
file: "tstreams3.nim"
output: "threw exception"
"""
import streams
try:
var fs = openFileStream("shouldneverexist.txt")
except IoError:
echo "threw exception"
|