Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/paren-init9.C

raw
1 // PR c++/91363 - P0960R3: Parenthesized initialization of aggregates.
2 // { dg-do compile { target c++20 } }
3
4 struct B { };
5 struct A : B {
6 int i;
7 };
8
9 B b;
10 A a(b);