Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for RTTI #332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add test for RTTI #332

wants to merge 1 commit into from

Conversation

oschulz
Copy link
Contributor

@oschulz oschulz commented Jun 2, 2017

Now that we have optional RTTI support, we should have a test for it, too. :-)

@Keno: In case RTTI is not enabled, the test will result in a few "error: cannot use typeid with -fno-rtti" messages, but the tests do pass (and actually do verify that an exception occurred). If that's not acceptable, I could wrap the icxx"typeid(int).name();" in an eval() - but then I don't know how to test that RTTI is really off if $JULIA_CXX_RTTI <= 0. Do you know a more elegant way, maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant