Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
noexcept-type19.C
blob: 571c426aa6708a6ccffac99ce48c326c5c8f0bb1 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
#include
"noexcept-type19.h"
extern
"C"
void
*
malloc
(
size_t
);
template
<
class
T
>
void
f
(
T
*);
void
*
g
(
size_t
);
int
main
()
{
f
<
decltype
(
malloc
)>(
g
);
}