Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-63.C
blob: 05f53e306c1da7acc997b102caf3210a1a17ba38 [
file
] [
log
] [
blame
]
// PR c++/79967
// { dg-do compile { target c++11 } }
template
<
void
f
[[
noreturn
]]()>
struct
A
{
int
g
()
{
f
();
return
0
;
}
};
void
f
();
void
g
(
A
<f>
a
)
{
a
.
g
();
}