Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class26.C
blob: 7707f439aadc99821167dc71c369f3c5f1b90f17 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
struct
p
{
unsigned
p_
{};
};
template
<
p i
>
struct
pp
{};
struct
qq
:
public
pp
<
p
{}>
{};
template
<
p i
>
int
f
(
pp
<i>
const
&);
int
main
()
{
return
f
(
qq
{});
}