aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/constexpr-ice13.C
blob: 4fe371696a34554e827ddae057e3be5928926eea (plain)
1
2
3
4
5
6
7
8
// PR c++/59571
// { dg-do compile { target c++11 } }

template <class>
struct foo
{
  static constexpr int bar{(int)-1};
};