blob: 59f51399facdeaaade40d2d12db3189bb6d99a62 [file] [log] [blame]
// { dg-lto-do link }
struct a {char c;}; // { dg-lto-message "8: 'struct a' violates the C\\+\\+ One Definition Rule" }
int
test (struct a *a)
{
return a->c;
}