brintos

brintos / llvm-project-archived public Read only

0
0
Text · 200 B · f591aab Raw
10 lines · c
1namespace header {2  class Z {3  public:4    Z() {5      foo(); // impure-warning {{Call to virtual method 'Z::foo' during construction bypasses virtual dispatch}}6    }7    virtual int foo();8  };9}10