Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr104648.C
blob: b8b7c2864cf24d4b3d3cd457c78a7bace7285ecc [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-options "-fvtable-verify=preinit" }
struct
A
{};
struct
B
:
virtual
A
{
B
()
{};
B
()
{};
/* { dg-error "cannot be overloaded with" } */
};