Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice4.C
blob: a083c85e752b667f1b1efdcbb4836fa9062ae594 [
file
] [
log
] [
blame
]
// PR c++/51612
// { dg-do compile { target c++11 } }
struct
A
{};
struct
B
:
virtual
A
{
constexpr
B
()
{
}
// { dg-error "has virtual base classes" }
};