summaryrefslogtreecommitdiffstats
path: root/libcxx/test/language.support
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-10-21 15:07:09 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-10-21 15:07:09 +0000
commit79e23cb9724561b9c103c39f04311ffe0acdf6c6 (patch)
tree031c909b02e3b83b8ee085011f9926e88f667c66 /libcxx/test/language.support
parent450d430f55f9ef5cf8ce1a4ae440f441873e152b (diff)
downloadbcm5719-llvm-79e23cb9724561b9c103c39f04311ffe0acdf6c6.tar.gz
bcm5719-llvm-79e23cb9724561b9c103c39f04311ffe0acdf6c6.zip
Some tests used __typeof__ instead of decltype. Replace these usages.
llvm-svn: 220296
Diffstat (limited to 'libcxx/test/language.support')
-rw-r--r--libcxx/test/language.support/support.runtime/csetjmp.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp b/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp
index a54f67b8f51..dc034ce099e 100644
--- a/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp
+++ b/libcxx/test/language.support/support.runtime/csetjmp.pass.cpp
@@ -19,6 +19,6 @@
int main()
{
std::jmp_buf jb;
- static_assert((std::is_same<__typeof__(std::longjmp(jb, 0)), void>::value),
- "std::is_same<__typeof__(std::longjmp(jb, 0)), void>::value");
+ static_assert((std::is_same<decltype(std::longjmp(jb, 0)), void>::value),
+ "std::is_same<decltype(std::longjmp(jb, 0)), void>::value");
}
OpenPOWER on IntegriCloud