* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / union6.C
blob408755e3195bc163402bdbc0e7a72826cbf7c52a
1 // PR c++/60184
2 // { dg-do compile { target c++11 } }
4 union Test1 {
5   static int kConstant;
6 };
8 union Test2 {
9   static const int kConstant;
12 const int Test2::kConstant = 10;
14 union Test3 {
15   int& kConstant;       // { dg-error "may not have reference type" }
18 union Test4 {
19   const int& kConstant = 10;    // { dg-error "may not have reference type" }