mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Uncomment swap test (#1210)
This commit is contained in:
parent
0dde3a0e70
commit
d9b4f647d8
1 changed files with 7 additions and 7 deletions
|
@ -260,13 +260,13 @@ main()
|
|||
return 55;
|
||||
}
|
||||
|
||||
// {
|
||||
// String s = "hello";
|
||||
// String s2 = "world";
|
||||
// s.swap(s2);
|
||||
// if (s != "world" || s2 != "hello")
|
||||
// return 56;
|
||||
// }
|
||||
{
|
||||
String s = "hello";
|
||||
String s2 = "world";
|
||||
s.swap(s2);
|
||||
if (s != "world" || s2 != "hello")
|
||||
return 56;
|
||||
}
|
||||
|
||||
{
|
||||
String s = "hello";
|
||||
|
|
Loading…
Reference in a new issue