diff options
author | Mike Stump <mrs@apple.com> | 2009-11-17 23:45:57 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-11-17 23:45:57 +0000 |
commit | ae9b2be5a3771a0d45cfaba171b80e5b0c71c6ca (patch) | |
tree | b54eb53839c75aef0412681a26e7f56486aa615f /test/CodeGenCXX/rtti.cpp | |
parent | 60b01cc44855d62979f76dc4cdffa4277f321049 (diff) |
Add rtti support for arrays, functiond without prototypes, vectors and
enums.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/rtti.cpp')
-rw-r--r-- | test/CodeGenCXX/rtti.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCXX/rtti.cpp b/test/CodeGenCXX/rtti.cpp index a673544ace..aea85a33b4 100644 --- a/test/CodeGenCXX/rtti.cpp +++ b/test/CodeGenCXX/rtti.cpp @@ -189,4 +189,7 @@ int test3() { if (typeid(pmd) == typeid(pmf)) return 1; return 0; + enum a { }; + if (typeid(int[5]) == typeid(enum a)) + return 0; } |