Debian Codegraph @

gcc/testsuite/g++.dg/lto/odr-8_1.C

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 }