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

struct A
{
  static constexpr int&& i = 0;
};

int j = A::i;