Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
DRs
/
dr2392.C
blob: e24d6a7f9287b56353f3583cdb9c0e2feb6f707b [
file
] [
log
] [
blame
]
// DR 2392
// { dg-do compile { target c++11 } }
template
<
class
T
=
void
>
constexpr
int
foo
()
{
T t
;
return
1
;
}
using
V
=
decltype
(
new
int
[
foo
()]);