4495766362
From-SVN: r23760
8 lines
109 B
C
8 lines
109 B
C
class A {};
|
|
class C {};
|
|
|
|
int main() {
|
|
A* a = 0;
|
|
C* c = static_cast<C*>(a); // ERROR - bad static cast
|
|
}
|