Files
wren/test/language/new/new_on_nonclass.wren
T
Bob Nystrom 64eccdd9be Reorganize tests and benchmark scripts.
Mainly to get rid of one top level directory. But this will
also be useful when there are tests of the embedding API.
2015-03-14 12:45:56 -07:00

3 lines
87 B
Plaintext

var a = 123
new a // expect runtime error: Must provide a class to 'new' to construct.