Debian Codegraph @

gcc/testsuite/g++.dg/contracts/contracts-large-return.C

raw
1 // { dg-do compile }
2 // { dg-options "-std=c++2a -fcontracts" }
3
4 struct Foo
5 {
6 int x;
7 bool y;
8 long z[4];
9 };
10
11 Foo foo() [[ pre: true ]]
12 {
13 return {};
14 }
15