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
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
no_unique_address7.C
blob
edd82d1ecccca08fe17b2caf912be42b028aa837
1
// PR c++/93711
2
// { dg-do compile { target c++11 } }
3
4
struct A { A(const A&) = delete; };
5
6
A f();
7
8
struct C
9
{
10
[[no_unique_address]] A a;
11
};
12
13
C c{f()}; // { dg-error "deleted" }