Closed ppwwyyxx closed 11 years ago
import "string" import "cstdio" using namespace std string s(a: int) = "haha" int main() printf("%s", s(1).c_str())
compiles to
#include "a.h" string s(int a) { return "haha"; } int main() { printf("%s", s(1).c_str(1)); }
where c_str(1) is wrong.
c_str(1)
Thanks, This bug has been fixed.
compiles to
where
c_str(1)
is wrong.