summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-ref6.C
blob: 1cbd651f1e5c9f4bec34630a71eb7a0a00a346f8 (plain)
1
2
3
4
5
6
// PR c++/60771
// { dg-do compile { target c++11 } }

struct A { 
  static constexpr int const& ref = 5;
};