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
/
constexpr-empty14a.C
blob
df34cfcb8e7f6486cb927aacceef3dd8a13ec53e
1
// PR c++/101072
2
// { dg-do compile { target c++11 } }
3
// { dg-additional-options -fno-elide-constructors }
4
5
struct S {};
6
7
template <class T> void
8
foo (S s)
9
{
10
constexpr S x = s;
11
}