repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr92447.C
blob
f332e80e4f80e78955bc53497257d74c0ab74cda
1
// PR c++/92447
2
// { dg-do compile { target c++11 } }
3
4
template <typename T>
5
void
6
foo ()
7
{
8
struct S { S &operator=(S &&x) = default; const T s{}; };
9
}
10
11
void bar ()
12
{
13
foo<int>();
14
}