Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg21.C
blob: 6ac227665ef8ec70bfa37fc29f2787e52ff34749 [
file
] [
log
] [
blame
]
// PR c++/71822
// { dg-do compile }
int
bar
(
int
);
template
<
typename
T
>
struct
A
{
explicit
A
(
int
x
=
bar
(
sizeof
(
T
)));
};
struct
B
{
A
<int>
b
[
2
];
};
void
baz
()
{
B b
;
}