Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr34938-1.C
blob: f23a5a3e20f55df36c20d95e7f89f30b9d006bdc [
file
] [
log
] [
blame
]
// PR c++/34938
typedef
void
(*
fptr
)()
__attribute
((
noreturn
));
template
<int>
void
foo
();
template
<fptr>
void
bar
();
fptr f
=
bar
<
foo
<
0
>
>;
// { dg-error "noreturn" }