Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
odr-8_1.C
blob: 501dbbdd1b2800df95156c448021b1c3ebf92048 [
file
] [
log
] [
blame
]
struct
a
{
char
c
;
a
()
{}
a
(
struct
a
&)
{}};
// { dg-lto-message "one type needs to be constructed while the other does not" }
extern
int
test
(
struct
a
*
a
);
int
main
()
{
struct
a a
;
a
.
c
=
0
;
return
test
(&
a
);
}