diff options
Diffstat (limited to 'test/CodeGenCXX/rtti.cpp')
| -rw-r--r-- | test/CodeGenCXX/rtti.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenCXX/rtti.cpp b/test/CodeGenCXX/rtti.cpp index aea85a33b4..b64071c65f 100644 --- a/test/CodeGenCXX/rtti.cpp +++ b/test/CodeGenCXX/rtti.cpp @@ -193,3 +193,7 @@ int test3() { if (typeid(int[5]) == typeid(enum a)) return 0; } + +bool test4(std::type_info* __pointee) { + return *__pointee == typeid (void); +} |
