Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-empty14a.C

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 }