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
c++: prev declared hidden tmpl friend inst [PR112288]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
constexpr-virtual12.C
blob
8f28ecadc681780a61b9eb97ea1ecc4af29237e9
1
// PR c++/87425
2
// P1064R0
3
// { dg-do compile }
4
// { dg-options "-std=c++2a" }
5
6
struct A
7
{
8
virtual A& operator= (int);
9
};
10
11
struct B
12
{
13
A a;
14
B() { a = 0; }
15
};