Uncomment swap test (#1210)

This commit is contained in:
Jōshin 2024-06-10 21:51:19 -07:00 committed by GitHub
parent 0dde3a0e70
commit d9b4f647d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";