Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr67217.C
blob: 35618aed5d359d7780ada2b4ce41e07d04dc42fc [
file
] [
log
] [
blame
]
// PR c++/67217
// { dg-do compile { target c++2a } }
template
<
class
T
>
requires __is_same_as
(
T
,
double
)
union
A
{};
int
main
()
{
A
<int>
{};
}
// { dg-error "template constraint failure" }