Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash132.C
blob: f6f4863e937370436f80bdca5ffdaa4c8be90661 [
file
] [
log
] [
blame
]
// PR c++/97993
// { dg-do compile { target c++14 } }
template
<
class
T
>
T a
;
template
<
class
T
,
class
A
,
class
=
decltype
(::
new
T
(
A
()))>
auto
foo
();
struct
S
decltype
(
foo
<
int
,
S
>);
// { dg-error "" }