Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <new>
- typedef unsigned int size_t;
- namespace test {
- void a();
- void b();
- }
- void test::a() {
- std::cout << "sajt" << std::endl;
- return;
- }
- void test::b() {
- std::cout << "túró" << std::endl;
- return;
- }
- void* operator new (size_t SizeInByte) throw () {
- return 0;
- }
- int main() {
- test::b();
- test::a();
- return 0;
- }
Add Comment
Please, Sign In to add comment