☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lto
/
odr-8_1.C
☽
☼
gcc/testsuite/g++.dg/lto/odr-8_1.C
code
plain
raw
1
struct a {char c; a() {} a(struct a &) {}}; // { dg-lto-message "one type needs to be constructed while the other does not" }
2
extern int test (struct a *a);
3
int
4
main()
5
{
6
struct a a;
7
a.c=0;
8
return test(&a);
9
}