1/* { dg-do compile } */ 2/* { dg-options "-O2" } */ 3 4/* This code ends up taking the address of part of the structure that is padding, 5 and because there is no real field there, the structure alias analyzer would 6 abort. */ 7struct empty_class {}; 8struct class1 : empty_class 9{ 10 class1() {} 11 empty_class value_; 12}; 13struct lambda : class1 { }; 14lambda _1; 15