aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/paren-init17.C
blob: 8e08b5288a57dbd4de4dc37b72dfb44130667953 (plain)
1
2
3
4
5
6
// PR c++/91363 - P0960R3: Parenthesized initialization of aggregates.
// { dg-do compile { target c++11 } }

struct A { };
struct B { };
static_assert (!__is_trivially_constructible(A, B), "");