mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-04 10:05:51 +00:00
25 lines
340 B
C++
25 lines
340 B
C++
// License bogus
|
|
|
|
// runtime/virtual
|
|
class ShouldHaveVirtualDes {
|
|
virtual foo();
|
|
};
|
|
|
|
int main() {
|
|
// runtime/memset
|
|
memset(blah, sizeof(blah), 0);
|
|
|
|
// runtime/rtti
|
|
dynamic_cast<Derived*>(obj);
|
|
|
|
// runtime/sizeof
|
|
int varname = 0;
|
|
int mySize = sizeof(int);
|
|
|
|
// runtime/threadsafe_fn
|
|
getpwuid();
|
|
strtok();
|
|
|
|
return 0;
|
|
}
|