ChaiScript/unittests/3.x/string_charptr.chai
Jonathan Turner c73f16fdfe Fixing 4.x grammar to be backward compatible.
Added 3.x unit tests back to show this.
2012-05-17 10:14:50 -07:00

7 lines
202 B
ChaiScript

assert_equal(true, "hello".c_str().is_var_const())
assert_equal("char", "hello".c_str().type_name())
assert_equal(true, "hello".data().is_var_const())
assert_equal("char", "hello".data().type_name())