mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This reverts commit cd9c37ca
This is causing build failures for some projects. We need more time to investigate. Reverting this temporarily in the meantime.
rdar://158439395
9 lines
226 B
C++
9 lines
226 B
C++
#include <string>
|
|
|
|
struct HasMethodThatReturnsString {
|
|
int value = 111;
|
|
std::string getString() const { return std::to_string(value); }
|
|
};
|
|
|
|
inline std::string takesStringWithDefaultArg(std::string s = "abc") { return s; }
|