1 // PR c++/60184
2 // { dg-do compile { target c++11 } }
3 
4 union Test1 {
5   static constexpr int kConstant = 10;
6 };
7 
8 union Test2 {
9   static constexpr const int& kConstant = Test1::kConstant;
10 };
11