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