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
PR c++/80095
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
nsdmi-aggr8.C
blob
8c99ffbc4c11ef3ca0f09ae42b8b759b9d3fecba
1
// PR c++/80095
2
// { dg-do compile { target c++14 } }
3
4
struct A
5
{
6
void* p = this;
7
};
8
9
void
10
foo ()
11
{
12
const A& a = A{};
13
A&& a2 = A{};
14
const A& a3{};
15
A&& a4{};
16
}