llvm-svn: 137522
This commit is contained in:
Howard Hinnant
2011-08-12 21:56:02 +00:00
parent c53dd2ac01
commit 54976f2619
122 changed files with 484 additions and 227 deletions

View File

@@ -18,7 +18,7 @@
int main()
{
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
{
std::string s = {'a', 'b', 'c'};
assert(s == "abc");
@@ -28,5 +28,5 @@ int main()
s = {L'a', L'b', L'c'};
assert(s == L"abc");
}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
}