summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-empty14.C
blob: ca4f9a55e5f9686c02b1fcbda62cbfd9e1aac93d (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/91953
// { dg-do compile { target c++11 } }

struct S {};

template <class T> void
foo (S s)
{
  constexpr S x = s;
}