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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr57175.C
blob
d6801a735294e221f1eb129bed120fbf3442401c
1
/* { dg-do compile { target c++11 } } */
2
3
extern "C" void do_not_remove ();
4
5
struct A
6
{
7
A () { }
8
A (A const&) { do_not_remove (); }
9
};
10
11
A
12
f ()
13
{
14
alignas (2 * alignof (A)) A x;
15
return x;
16
}
17
18
/* { dg-final { scan-assembler "do_not_remove" } } */