Sign in
llvm
/
llvm-project
/
bad02e38c8223886c0d7e63e79d1ab036aeeaddc
/
.
/
clang
/
test
/
Analysis
/
virtualcall.h
blob: f591aab2cacfcc5bd6c124a49dc490fbba28ab2e [
file
] [
log
] [
blame
]
namespace
header
{
class
Z
{
public
:
Z
()
{
foo
();
// impure-warning {{Call to virtual method 'Z::foo' during construction bypasses virtual dispatch}}
}
virtual
int
foo
();
};
}