Debian Codegraph @

gcc/testsuite/g++.dg/pr107411.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Werror=uninitialized -ftrivial-auto-var-init=zero" } */
3 int t();
4 void f(int);
5
6 void j()
7 {
8 const int& e = t();
9 f(e);
10 }