Some tests used __typeof__ instead of decltype. Replace these usages.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@220296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,6 +43,6 @@
|
||||
int main()
|
||||
{
|
||||
std::lconv lc;
|
||||
static_assert((std::is_same<__typeof__(std::setlocale(0, "")), char*>::value), "");
|
||||
static_assert((std::is_same<__typeof__(std::localeconv()), std::lconv*>::value), "");
|
||||
static_assert((std::is_same<decltype(std::setlocale(0, "")), char*>::value), "");
|
||||
static_assert((std::is_same<decltype(std::localeconv()), std::lconv*>::value), "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user