Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-empty14a.C
blobdf34cfcb8e7f6486cb927aacceef3dd8a13ec53e
1 // PR c++/101072
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -fno-elide-constructors }
5 struct S {};
7 template <class T> void
8 foo (S s)
10   constexpr S x = s;