Debian Codegraph @

gcc/testsuite/g++.dg/ipa/pr69241-2.C

raw
1 // PR ipa/69241
2 // { dg-do compile }
3 // { dg-options "-O2" }
4
5 __attribute__((noreturn)) void foo (int);
6 struct R { R (const R &) {} };
7
8 R
9 bar ()
10 {
11 foo (0);
12 }
13
14 R
15 baz ()
16 {
17 foo (0);
18 }