2011-06-07 03:53:47 -05:00
|
|
|
|
2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
// -*- rust -*-
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod std;
|
2011-06-07 03:53:47 -05:00
|
|
|
|
|
|
|
fn main() {
|
2012-07-14 00:57:48 -05:00
|
|
|
let a: ~str = ~"this \
|
2011-06-07 03:53:47 -05:00
|
|
|
is a test";
|
2012-07-14 00:57:48 -05:00
|
|
|
let b: ~str =
|
|
|
|
~"this \
|
2011-06-07 03:53:47 -05:00
|
|
|
is \
|
|
|
|
another \
|
|
|
|
test";
|
2012-08-02 17:42:56 -05:00
|
|
|
assert (a == ~"this is a test");
|
|
|
|
assert (b == ~"this is another test");
|
2011-08-19 17:16:48 -05:00
|
|
|
}
|