commit | db519a4bb2082b98e03162ac1a4399978833643b | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Tue Nov 17 00:45:21 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Tue Nov 17 00:45:21 2009 +0000 |
tree | 0887ccb3527cd027d12dc0ae51c367ea3791e6ad | |
parent | a661bee756bf0c0ca1d42377c6f7b0936d171f48 [diff] [blame] |
Ensure we peer through () when handling typeid(*p). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89015 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/rtti.cpp b/test/CodeGenCXX/rtti.cpp index 49dcbe3..76f571e 100644 --- a/test/CodeGenCXX/rtti.cpp +++ b/test/CodeGenCXX/rtti.cpp
@@ -102,7 +102,7 @@ test2_1(); if (typeid(NP) == typeid(test1_D)) test2_1(); - if (typeid(*dp) == typeid(test1_D)) + if (typeid(((*(dp)))) == typeid(test1_D)) test2_1(); }