☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-empty14a.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-empty14a.C
code
plain
raw
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
}