Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
odr-8_0.C
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
;
}