Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
()
{}