2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-union6.C
blob96d48182c3d22ab45f82ae3b7033e7ccae770026
1 // PR c++/60184
2 // { dg-do compile { target c++11 } }
4 union Test1 {
5   static constexpr int kConstant = 10;
6 };
8 union Test2 {
9   static constexpr const int& kConstant = Test1::kConstant;