repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
constexpr-virtual21.C
blob
8b70c5f538b5a787cf77885e2abed96aa50b382c
1
// PR c++/93413
2
// { dg-do compile { target c++20 } }
3
4
struct Base {
5
virtual ~Base() = default;
6
};
7
constexpr Base b;
8
9
struct Derived : Base { };
10
constexpr Derived d;