Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class25.C
blob: 279d4d00e36c1cf194ba3564492d545dbdbfc16f [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
struct
base
{
int
i
{};
};
struct
derived
:
private
base
{};
template
<derived>
struct
has_nttp_param
{};
// { dg-error "non-type" }
has_nttp_param
<{}>
v
;