Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
();
}