1 // PR c++/60336 2 // { dg-do compile } 3 // { dg-options "-Wabi=12" } 4 5 struct foo 6 { 7 int i1; 8 int i2; 9 int i3; 10 int i4; 11 int i5; 12 }; 13 14 struct N { 15 class E { }; funN16 void fun (class E, struct foo) { } // { dg-bogus "empty" } 17 }; 18 19 main()20int main() 21 { 22 struct N n; 23 N::E d; 24 struct foo f = { -1, -2, -3, -4, -5 }; 25 26 n.fun(d, f); // { dg-bogus "empty" } 27 return 0; 28 } 29