# testik

By [owhi](https://paragraph.com/@owhi) · 2023-10-31

---

test “article”

code example:

    #include <iostream>
    #include <cstdint>
    
    class {
        char ch;
        double d;
        int8_t val;
        float f;
        virtual auto get() -> int8_t* { return &val; }
    } obj;
    
    auto main(int argc, const char* argv[]) -> decltype(argc) {
        int8_t*(*get)(){ ((int8_t*(*)())((*((int64_t**)&obj)[0]))) };
        int8_t* val{ (int8_t*)((int64_t)&obj+(int64_t)get()) };
        *val = '\u0030';
        std::cout << *val;
    
        return EXIT_SUCCESS;
    }
    

[Subscribe](null)

---

*Originally published on [owhi](https://paragraph.com/@owhi/testik)*
