c-cast from void* works

master
neingeist 11 years ago
parent 8bc35cef8e
commit 9092970b7d

@ -64,7 +64,7 @@ int main() {
std::cout << "== ccast" << std::endl;
ccast(&a);
ccast(&base);
ccast(&base); // XXX actually works!
std::cout << "== staticcast" << std::endl;
staticcast(&a);

Loading…
Cancel
Save