Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
ref10.C
blob: 60e91d053a0e89cfd8967d5a9c1c484f9b73b392 [
file
] [
log
] [
blame
]
// PR c++/80840
// { dg-do compile { target c++11 } }
template
<
class
T
,
T X
>
struct
Just
;
template
<
const
double
&
X
>
struct
Number
{
static
constexpr
double
value
=
X
;
using
result
=
Just
<
const
double
&,
value
>;
};
int
main
()
{}